Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

idxmax in python

>>> df.idxmax()
consumption     Wheat Products
co2_emissions             Beef
dtype: object
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #idxmax #python
ADD COMMENT
Topic
Name
5+3 =