I would like to change all rows with only emojis such as df['Comments'][2]
to N/A.
df['Comments'][:6]
0 nice
1 Insane3
2 ❤️
3 @bertelsen1986
4 20 or 30 mm rise on the Renthal Fatbar?
5 Luckily I have one to
The following code doesn't return the output I expect:
df['Comments'].replace(';', ':', '!', '*', np.NaN)
Expected Output:
df['Comments'][:6]
0 nice
1 Insane3
2 nan
3 @bertelsen1986
4 20 or 30 mm rise on the Renthal Fatbar?
5 Luckily I have one to