How to partially split a dataset from row indexes, and column names or column indexes.
I tried this df.loc[[1,2,34,'name']] = 100 and df.iloc[np.where(df.loc[,'name']<100)]=100 this do not work. Need help, thank you!
data sample:
>> df
>> name lag
0 100.0 0.000000
1 80.0 0.011161
2 255.0 0.022321
3 93.0 0.033482
4 100.0 0.044643
5 9.8 0.055804
6 29.0 0.066964