-
-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
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
non-NDFFrame object error using pandas.SparseSeries.from_coo() function #10818
Comments
looks like a bug. needs someone to dig in on these sparse issues. |
I've deduced that it's a size issue. When the underlying Series starts to display with ellipsis, I get this error. So it has to do with the number of terms (nonzero elements in scipy sparse matrix). I did my testing in Py3 and got a different error (from the It may affect any SparseSeries, regardless of whether it is constructed with
|
The fundamental issue is that slicing is broken in sparse.
[14] should be a |
this would be fixed by #10627 |
There appears to be an issue with the .from_coo() sparse function. If the frame is viewed, it gives a "non-NDFFrame error". It could potentially be due to overlapping entries on the same index (this is handled in sparse.coo_matrix by adding the entries by default).
More details here:
http://stackoverflow.com/questions/31970070/non-ndfframe-object-error-using-pandas-sparseseries-from-coo-function
Example:
The text was updated successfully, but these errors were encountered: