Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas maxima and minima for given column

my_max = data['x1'].loc[data['x1'].idxmax()]      # Maximum in column
print(my_max)
# 9
Source by statisticsglobe.com #
 
PREVIOUS NEXT
Tagged: #pandas #maxima #minima #column
ADD COMMENT
Topic
Name
8+1 =