'Find a way to use Python iloc method to see the bigger values in each row
I'm using iloc method to see each row on a dataframe, but it's beeing exausting. The problem is that I can't create many variables to colect the bigger value for each line, as I did before (the other DF I'm working now has more than 20 lines, and I'd like to see a method to find the greater value without using many variables):
alex=df2.iloc[0,5:16]
mv=df2.iloc[1,5:16]
mv2=df2.iloc[2,5:16]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
