I have Series where the index and column name are stocked. I want to print only the index and column from Series and not whole dataframe.
Series
0 wkeans
1 wContour
2 wDarkBand
3 wContour
Dataframe
wContour wDarkBand wkeans
0 92.000000 0.0 94.0
1 90.000000 88.0 84.0
2 84.000000 86.0 84.0
3 84.000000 0.0 102.0
I want to have :
I.e. :
94.0
90.0
86.0
84.0
dfW.loc[myseries], dfW.loc[s.index, s.values] do not work, any suggestion ?
Thanks