Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to find the most frequent value in a column in pandas dataframe

df['item']. value_counts(). idxmax()
 
PREVIOUS NEXT
Tagged: #find #frequent #column #pandas #dataframe
ADD COMMENT
Topic
Name
5+1 =