.describe()
attribute generates a Dataframe where count
, std
, max
… are values of the index, so according to the documentation you should use .loc
to retrieve just the index values desired:
df.describe().loc[['count','max']]
.describe()
attribute generates a Dataframe where count
, std
, max
… are values of the index, so according to the documentation you should use .loc
to retrieve just the index values desired:
df.describe().loc[['count','max']]