-
Notifications
You must be signed in to change notification settings - Fork 132
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
Unary operator doesn't work #186
Labels
Comments
Do you mean here that curve = well.data['GR']
curve2 = 200-curve
arr1 = curve.df.to_numpy()
arr3 = arr1-200
arr2 = curve2.df.to_numpy()
all(arr2 == arr3)
Out[11]: True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
E.g. this doesn't work:
Should be easy enough to fix with
__neg__()
and__pos__()
I think.The text was updated successfully, but these errors were encountered: