Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

most common value in a column pandas

# most frequent value in Team
df['Team'].value_counts().idxmax()
Source by datascienceparichay.com #
 
PREVIOUS NEXT
Tagged: #common #column #pandas
ADD COMMENT
Topic
Name
2+1 =