-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Assigning values in SparseDataFrame with duplicate columns fails #14427
Comments
this is not tested at all. I suppose could be supported. |
will take community contributions. |
@jreback : Are there really no tests for indexing into a The bug essentially boils down to the fact that you cannot take the transpose of a But how do you effectively implement transpose for |
https://github.com/pandas-dev/pandas/blob/master/pandas/sparse/tests/test_indexing.py setting is tested very little with sparse |
@jreback : Fair enough, but the issue is not even setting a value. It's just indexing (i.e. the getter) that is breaking, which is even more problematic. |
As discussed in #14384 (comment).
A small, complete example of the issue
errors with
Expected Output
Output of
pd.show_versions()
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Darwin
OS-release: 14.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.0
nose: None
pip: 8.1.2
setuptools: 28.3.0
Cython: None
numpy: 1.11.2
scipy: None
statsmodels: None
xarray: None
IPython: 5.1.0
sphinx: None
patsy: None
dateutil: 2.5.3
pytz: 2016.7
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: None
boto: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: