i have a columns of texts. How I can cut the part of each text after the term show less?
For example:
df = pd.DataFrame({'col':['hi there see less new way is comming','today is summer, see less , is a lovely day']})
that looks like:
col
'hi there see less new way is comming'
'today is summer, see less , is a lovely day'
output:
col
'hi there'
'today is summer,'