Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SparseDataFrame with dense Series or unknown type #19374
Code Sample, a copy-pastable example if possible
import pandas pandas.SparseDataFrame(pandas.Series())
I've seen there are plans to SparseDataFrame. But reporting anyway.
The above code, creating a
Any other type provided to the constructor fails with the same error.
I'd expect an empty series (if the dense
Or a useful error message, if the data type is not accepted.