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

pdarray.reshape should have an order argument #3729

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

pdarray.reshape should have an order argument #3729

ajpotts opened this issue Aug 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ajpotts
Copy link
Contributor

ajpotts commented Aug 30, 2024

pdarray.reshape should have an order argument:

        order : str {'row_major' | 'C' | 'column_major' | 'F'}
            Read the elements of the pdarray in this index order
            By default, read the elements in row_major or C-like order where the last index
            changes the fastest
            If 'column_major' or 'F', read the elements in column_major or Fortran-like order where the
first index changes the fastest

To match numpy:
https://numpy.org/doc/stable/reference/generated/numpy.reshape.html

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

No branches or pull requests

1 participant