We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ts = Series(randn(10)) ts[2:-2] = nan sts = ts.to_sparse() print sts print sts.density
results in:
return float(len(self.sp_index)) / len(self.index) TypeError: object of type 'pandas._sparse.BlockIndex' has no len()
The text was updated successfully, but these errors were encountered:
fixed in master. 279329b.
thanks for the report.
Sorry, something went wrong.
No branches or pull requests
results in:
return float(len(self.sp_index)) / len(self.index)
TypeError: object of type 'pandas._sparse.BlockIndex' has no len()
The text was updated successfully, but these errors were encountered: