I have a Pandas dataframe , two columns "text" and "status":
text,status
Great!!, pos
I dunno., neut
Bad.,neg
There are about 6000 rows.
Text field consists of short sentences. I did a
dataset["text"] = dataset["text"].apply(strip_punctuation)
where strip_punctuation
makes some string operations and returns a string. Function works on strings fast, but when I put it in apply result is a disaster I don't know why.
Any help is appreciated!