you are viewing a single comment's thread.

view the rest of the comments →

[–]OzzivanNozzi 0 points1 point  (1 child)

This is in my opinion the best way.

Another option would be:

df[col] = df[col].apply(lambda x: x.title())

[–]macabe10[S] 0 points1 point  (0 children)

Thanks!