>>> sdf = pd.SparseDataFrame(index=[0, 1], columns=[0, 1]) >>> sdf[0][0] = 1 # This warns; ignore >>> sdf AttributeError: 'NoneType' object has no attribute 'type'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>>> sdf 0 1 0 NaN NaN 1 NaN NaNOutput of
pd.show_versions()
0.19.0+479.git
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4