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
The docstring for SparseDataFrame states that the types accepted for the data argument of the constructor are the same types as can be passed to DataFrame.
the DataFrame constructor accepts a SparseArray, the SparseDataFrame constructor raises AttributeError: 'SparseArray' object has no attribute 'index'
The text was updated successfully, but these errors were encountered:
mypy error:
pandas\core\sparse\frame.py:94:25: error: Item "SparseArray" of "Union[SparseSeries, SparseArray]" has no attribute "index"
Code Sample, a copy-pastable example if possible
Problem description
The docstring for SparseDataFrame states that the types accepted for the data argument of the constructor are the same types as can be passed to DataFrame.
the DataFrame constructor accepts a SparseArray, the SparseDataFrame constructor raises
AttributeError: 'SparseArray' object has no attribute 'index'
The text was updated successfully, but these errors were encountered: