Data frame Manipulation

Hi Friends, I have a DataFrame containing the names of people in a random way.
I want to sort those names in the data frame and create a new column in the data frame containing the number of times a name appears in the data frame.
can someone help me with the ways to do this task.
Thank you

how about this

1 Like