Reputation: 1339
I look for accessing to all elements where the second index equal 'P0 (YI)' but my command doesn't work. Can somebody help me ?
>>> G11
<class 'pandas.core.frame.DataFrame'>
MultiIndex: 10000 entries, (s0000, Averaging) to (s0999, P0 (YI))
Data columns (total 3 columns):
Volume 10000 non-null values
dtypes: float64(3)
>>> G11.ix[(:,'P0 (YI)')]
File "<stdin>", line 1
G11.ix[(:,'P0 (YI)')]
^
SyntaxError: invalid syntax
Upvotes: 0
Views: 94