Continuing on my recent sparse kick...
I appreciate the fact that Series()
, DataFrame()
, and Panel()
all return empty versions of themselves. I think it's reasonable to expect that their sparse counterparts would behave the same way, but this is only the case for SparseDataFrame()
(it's even tested).
pd.SparseSeries() --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-375-46c1881ac0a7> in <module>() ----> 1 pd.SparseSeries() TypeError: __init__() missing 1 required positional argument: 'data'
and similar for SparsePanel()
.
I can submit a PR to change this behavior.
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