0

I have a data frame in pandas python, and am trying to create a new column that shows the number of characters in each row,

I also don't mind including white spaces in the solution,

I'm very new to coding, so I know I need a loop or list comprehension of sorts but am stuck on doing the doings, any ideas?

I'm trying to get a result that looks like this,

Index user_description character_count
0 'My mother in law likes to lecture me on... 34
1 'I need less stress and need more fries... 24
monica
  • 27
  • 3

0 Answers0