How can i apply functions in the one line of code as below. I want to calculate mean,STD etc etc for the data set of which link has been shared below. In the given example i have already calculated "mean" and now i want to add some code and find other functions like STD etc.
df1 = df.loc[(df.time>=171) & (df.time<=174)[['S08','S09','S41']].mean(axis=1)
click here for the dataset (CSV file) i am referring to the column names
In the image above i need the mean and STD (blue) but in different Dataframe not same.