Here's some data from another 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 would like to read in this data in such a way that the first column is actually the index, and the first two rows are treated as multi-level columns where MeasX
is the first level, and Value
is the second level.
How can I do this using pd.read_clipboard
?
My pd.read_clipboard
series: