Is it possible to find minimum, maximum and average value of all data with a same first column?
For example, for first column 1_204192587
:
take into account all rows and columns from 4 to n
find min, max and avg of all entries in columns 4+ and all rows with
**1_204192587**
value in first column.Meaning, to do kind of describing data for every unique Start value shown below.
`In: data.groupby(["Start"]).groups.keys() out: dict_keys(['1_204192587', '1_204197200'])`
This is how data frame looks like
I tried
df=data.groupby(["Start"]).describe()
But This is not what I want.
I also try to specify axis while describing,
data.apply.(pd.DataFrame.describe, axis=1)
but I got error.
Desired output
unique key/first column value MIN MAX AVG
1_204192587 * * *
1_204197200 * * *
I am a beginner, thank you in advance for any response.