We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
>>> sdf = pd.SparseDataFrame(index=[0, 1], columns=[0, 1]) >>> sdf[0][0] = 1 # This warns; ignore >>> sdf AttributeError: 'NoneType' object has no attribute 'type'
After some value is set on a copy of a SparseSeries, the enclosing SparseDataFrame can no longer be printed (raises AttributeError).
>>> sdf 0 1 0 NaN NaN 1 NaN NaN
pd.show_versions()
0.19.0+479.git
The text was updated successfully, but these errors were encountered:
These are not implemented, so not sure that
In [3]: sdf.loc[0,0] = 1 --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last)
this should even work
Sorry, something went wrong.
38a34be
BUG: repr SparseDataFrame after setting a value
ea5d7ad
closes pandas-dev#15488 Author: Kernc <[email protected]> Closes pandas-dev#15489 from kernc/sdf-repr and squashes the following commits: 2dc145c [Kernc] BUG: repr SparseDataFrame after setting a value
Successfully merging a pull request may close this issue.
Code Sample, a copy-pastable example if possible
Problem description
After some value is set on a copy of a SparseSeries, the enclosing SparseDataFrame can no longer be printed (raises AttributeError).
Expected Output
Output of
pd.show_versions()
0.19.0+479.git
The text was updated successfully, but these errors were encountered: