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
Currently the below example does not work:
from pint_pandas import PintArray p = PintArray(np.array([1,2,3], dtype=np.float64), 'm') p1 = -p
Instead you must multiply by a negative scalar as follows:
p1 = -1*p
The text was updated successfully, but these errors were encountered:
I had hoped to get this working with #160 , but that's still a while off...
Alternatively PintArray.__pos__ and PintArray.__neg__ could be implemented for -p and -p . The unary tests in #160 can be copied.
PintArray.__pos__
PintArray.__neg__
-p
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Currently the below example does not work:
Instead you must multiply by a negative scalar as follows:
The text was updated successfully, but these errors were encountered: