python - Specify Multi-Level columns using pd.read_clipboard? -




here's data question:

main    meas1     meas2 meas3   meas4  meas5 sublvl  value     value value   value   value        count   7.000000  1.0   1.0     582.00  97.000000        mean    30        37.0  26.0    33.03   16.635350 

i read in data in such way first column index, , first 2 rows treated multi-level columns measx first level, , value second level.

how can using pd.read_clipboard?


my pd.read_clipboard series:

in [17]: pd.read_clipboard(sep='\s+', index_col=[0], header=[0,1]) out[17]:  main   meas1 meas2 meas3   meas4     meas5 sublvl value value value   value     value count    7.0   1.0   1.0  582.00  97.00000 mean    30.0  37.0  26.0   33.03  16.63535 




wiki

Comments

Popular posts from this blog

elasticsearch - what is the equivalent data type for geo_point in hibernate search? -

firebase - How to wait value in Ionic 2 -

Jenkins: find build number for git commit -