You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a dataframe with multi index like this:
a b c
y m d
2000 1 1 1 2 3
2 7 8 9
3 4 5 6
...
it doesn't work to do this: df.ix[(2000,1,1), ['a','b']]
it gives KeyError = 1
in _NDFrameIndexer._getitem_tuple, the return value of the first ix._getitem_axis(key, axis=i) call returns a Series so the second call with axis=1 fails with KeyError=1
The text was updated successfully, but these errors were encountered:
* commit 'v0.7.2-111-gf7b9139': (178 commits)
DOC: refer to pydata@googlegroups.com instead of pystatsmodels@googlegroups.com
DOC: fix url to vbench moved over to pydata
DOC: some docs re: Panel.from_dict with orient='minor', closepandas-dev#1009
ENH: use filtered exog index for the y_predict result, per pandas-dev#1027closepandas-dev#1008
ENH: make method signature more consistent with new statsmodels behavior. Uses dot product directly so pandas users aren't affected by statsmodels API change
ENH: added OLS.predict method; pass through call to statsmodels ols predict method
DOC: encoding affects python 2 and 3
DOC: read_fwf doc tweaks for 0.7.3
Sphinx documentation for read_fwf
DOC: add what's new for 0.7.3, some scatter_matrix improvements
TST: python 3 fixes
BUG: return ax.get_figure() in scatter_plot if ax argument is not None
add ax kwd to several functions and push ax into subplots so new subplot axes is generated on the ax's figure
ENH: label sizes and rotations for histogram TST: test cases for both Series and DataFrame histogram
DOC: all 0.7.3 issues should now be in either new features or bug fixes
ENH: partial multiple setting on first level via .ix on DataFrame, closepandas-dev#409
RLS: python 2.5 compatibility stuff with boolean arrays
BUG: treat None as NA in DataFrame arithmetic operations, pandas-dev#992
BUG: fix indexing error when selecting section of a hierarchically-indexed DataFrame row, closepandas-dev#1013
ENH: attach name to Series on axis=1 in DataFrame.apply, pandas-dev#983
...
per pydata email:
I created a dataframe with multi index like this:
a b c
y m d
2000 1 1 1 2 3
2 7 8 9
3 4 5 6
...
it doesn't work to do this: df.ix[(2000,1,1), ['a','b']]
it gives KeyError = 1
in _NDFrameIndexer._getitem_tuple, the return value of the first ix._getitem_axis(key, axis=i) call returns a Series so the second call with axis=1 fails with KeyError=1
The text was updated successfully, but these errors were encountered: