Answers for "python how do you find the top 5 in a dataframe"

0

only get top 10 python dataframe

df[df['Ticket'] == 1].sort_values('Age')['Names'].head(10)
Posted by: Guest on January-22-2020

Code answers related to "python how do you find the top 5 in a dataframe"

Python Answers by Framework

Browse Popular Code Answers by Language