We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
In [1]: import pandas as pd; import numpy as np In [2]: sparse = pd.SparseArray([0.0, 3.5], fill_value=0.0) ...: r1, r2 = np.modf(sparse) ...: --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-2-1f85037f7dc7> in <module> 1 sparse = pd.SparseArray([0.0, 3.5], fill_value=0.0) ----> 2 r1, r2 = np.modf(sparse) ~/sandbox/pandas/pandas/core/arrays/sparse.py in __array_ufunc__(self, ufunc, method, *inputs, **kwargs) 1700 return self._simple_new(sp_values, 1701 self.sp_index, -> 1702 SparseDtype(sp_values.dtype, fill_value)) 1703 1704 result = getattr(ufunc, method)(*[np.asarray(x) for x in inputs], AttributeError: 'tuple' object has no attribute 'dtype'
PR coming soon.
The text was updated successfully, but these errors were encountered:
BUG: modfy(SparseArray)
6dcc0ff
Closes pandas-dev#26946 (cherry picked from commit 430f664ddbb4dab542b34b2c75b6d086fdef4934)
b277b4d
BUG: modfy(SparseArray) (#26947)
baeb1bf
Closes #26946 (cherry picked from commit 430f664ddbb4dab542b34b2c75b6d086fdef4934)
Successfully merging a pull request may close this issue.
PR coming soon.
The text was updated successfully, but these errors were encountered: