Skip to content

arkouda.numpy alignment to numpy #4795

Open

Description

@1RyanK

Describe the bug
Checking the functions Arkouda implements against the ones that numpy implements, and restricting just to arkouda.numpy (and not any other submodule), we find the following:

+-----------------------------+-----------------------------+---------------------------+----------------------------+---------------------------+
| ak_module                   | ak_name                     | target_np_module          | status                     | found_elsewhere           |
+-----------------------------+-----------------------------+---------------------------+----------------------------+---------------------------+
| arkouda.numpy               | DType                       | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | Datetime                    | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | ErrorMode                   | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | Timedelta                   | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | broadcast_dims              | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | broadcast_to_shape          | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | cast                        | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | clear                       | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | corr                        | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | date_range                  | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | from_series                 | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | get_byteorder               | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | hash                        | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | is_registered               | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | is_sorted                   | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | isnumeric                   | numpy                     | FOUND_ELSEWHERE_IN_NUMPY   | numpy.strings             |
| arkouda.numpy               | numeric_and_bool_scalars    | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | register_all                | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
| arkouda.numpy               | timedelta_range             | numpy                     | MISSING_IN_NUMPY_MODULE    |                           |
+-----------------------------+-----------------------------+---------------------------+----------------------------+---------------------------+

These functions should be investigated and some of them should be renamed if there is a numpy function that does the same thing. For instance, I think instead of broadcast_to_shape it should be broadcast_to

If a function or class or something has no numpy equivalent, then it is probably fine to leave as is.

Activity

  1. added this to the Numpy Alignment milestone on Aug 19, 2025
  2. added
    bug
    on Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions