DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+6 =
Submit