Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

maximum element in dataframe row

max_elements = df.max(axis = 1) #axis = 0, default, max of each column
print(max_elements)
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #maximum #element #dataframe #row
ADD COMMENT
Topic
Name
1+6 =