why does panda’s dataframe describemin method return standard deviation instead?

print(df.describe().min())

will compute minimum values for the (pseudo-)dataframe that df.describe() returns, which will likely not make much sense.

Instead, simply

>>> df.min()
A    1
B    2
C    3

will return column-wise minimums.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top