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

multi-dim pdarrays to print like numpy #3756

Open
ajpotts opened this issue Sep 9, 2024 · 0 comments
Open

multi-dim pdarrays to print like numpy #3756

ajpotts opened this issue Sep 9, 2024 · 0 comments
Assignees

Comments

@ajpotts
Copy link
Contributor

ajpotts commented Sep 9, 2024

This example shows they are different:

In [65]: ak.array(npa)
Out[65]: array([array([4 3 7 2 9]) array([6 3 1 9 2]) array([6 6 8 9 6]) array([5 7 3 7 5]) array([1 5 4 2 7])])

In [66]: npa
Out[66]: 
array([[4, 6, 6, 5, 1],
       [3, 3, 6, 7, 5],
       [7, 1, 8, 3, 4],
       [2, 9, 9, 7, 2],
       [9, 2, 6, 5, 7]])

@ajpotts ajpotts added this to the Enable multi-dim pdarrays milestone Sep 9, 2024
@ajpotts ajpotts self-assigned this Sep 9, 2024
@ajpotts ajpotts changed the title multi-dim to print like numpy multi-dim pdarrays to print like numpy Sep 9, 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