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

array_api to call functions from arkouda.pdarray_creation #3708

Open
ajpotts opened this issue Aug 28, 2024 · 0 comments
Open

array_api to call functions from arkouda.pdarray_creation #3708

ajpotts opened this issue Aug 28, 2024 · 0 comments
Assignees

Comments

@ajpotts
Copy link
Contributor

ajpotts commented Aug 28, 2024

Modify array_api to call functions from arkouda.pdarray_creation.

This example was recommended by @jeremiah-corrado:

def zeros(
    shape: Union[int, Tuple[int, ...]],
    /,
    *,
    dtype: Optional[Dtype] = None,
    device: Optional[Device] = None,
) -> Array:
    """
    Return a new array with the specified shape and type, filled with zeros.
    """
    from .array_object import Array

   ...

    if dtype is None:
       dtype = ak.Int64

    return Array._new(ak.zeros(shape, dtype))
@ajpotts ajpotts added this to the Enable multi-dim pdarrays milestone Aug 28, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 6, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 6, 2024
@ajpotts ajpotts self-assigned this Sep 9, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 9, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 10, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 10, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 10, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 11, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 18, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 18, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 18, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 19, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 20, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Sep 20, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Oct 10, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Oct 10, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Oct 23, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Oct 25, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Oct 25, 2024
ajpotts added a commit to ajpotts/arkouda that referenced this issue Oct 25, 2024
github-merge-queue bot pushed a commit that referenced this issue Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant