-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add sqrt and power functions to operate on pdarray #1725
Comments
Immediately closing this issue after discovering that Arkouda has already implemented the
|
@milthorpe - I am reopening this. Since your first thought was to use |
If it fits with the Arkouda design philosophy, sure! As a little more background - you have probably guessed this already - I am attempting a 'verbatim' translation of existing numpy code to use Arkouda, and for whatever reason |
@milthorpe - if it is the preferred style by numpy, Arkouda should definitely include it. I already added the code. I already put up a PR for this so once the rest of the team reviews it will be merged and will be in the next release. Thanks for bringing this up! |
Square root and power operations are useful; this enhancement would add them as functions to the
arkouda
module alongsideexp
etc.arkouda.sqrt
would be a simple element-wise operation (likeexp
).arkouda.power
would have a similar interface tonumpy.power
, accepting as the second argument either a scalar value to which all elements of the first array are raised, or an array of powers to which corresponding elements of the first array are raised.The text was updated successfully, but these errors were encountered: