git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dataframe with two groups of cols.


Hi!

How do I create a pandas dataframe with two (or more) groups of cols.?

Ex.:

G1       G2
C1 C2 C3 C1 C2 C3
Rows of values ...

I then should be able to access for example
df['G2']['C3'][<some rows selection>]


Thanks.