Skip to content
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

is_numeric to handle Index and Series type #3204

Closed
ajpotts opened this issue May 17, 2024 · 0 comments · Fixed by #3205
Closed

is_numeric to handle Index and Series type #3204

ajpotts opened this issue May 17, 2024 · 0 comments · Fixed by #3205
Assignees
Labels
enhancement New feature or request

Comments

@ajpotts
Copy link
Contributor

ajpotts commented May 17, 2024

is_numeric, is_float, and is_int to handle Index and Series type.

In [5]: i = ak.Index(ak.array([1, 2, 3]))

In [6]: from arkouda.util import is_numeric

In [7]: i = ak.Index(ak.array([1, 2, 3]))

In [8]: is_numeric(i)
Out[8]: True

In [9]: s = ak.Series(ak.array(["a","b","c"]), index=ak.array([1, 2, 3]))

In [10]: is_numeric(s)
Out[10]: False
@ajpotts ajpotts added the enhancement New feature or request label May 17, 2024
@ajpotts ajpotts self-assigned this May 17, 2024
@ajpotts ajpotts changed the title changes to is_numeric is_numeric to handle Index and Series type May 17, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue May 17, 2024
github-merge-queue bot pushed a commit that referenced this issue May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant