Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

mode of a column in df

#axis = 0 for mode of columns
#axis = 1 for mode of rows
df.mode(axis=0, numeric_only=False, dropna=True)
 
PREVIOUS NEXT
Tagged: #mode #column #df
ADD COMMENT
Topic
Name
9+7 =