Using Python. I have a dataframe with three columns:
Author | Title | Reviews
I want to sort by the length of the string in the Reviews column.
If I do
df.sort_values('Review', ascending = False)
It sorts alphabetically, starting with 'z
'.
How do I get it to sort by the length of the string in the Reviews column?