-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-34882: [Python] Binding for FixedShapeTensorType #34883
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
Merged
jorisvandenbossche
merged 25 commits into
apache:main
from
AlenkaF:python-binding-tensor-extension-type
Apr 11, 2023
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
d69685a
Add bindings and tests for FixedShapeTensorType and Array
AlenkaF a6292f8
Fix linter error
AlenkaF 1bdba1d
Add pa.fixedshapetensor factory function and update docstring examples
AlenkaF 7c395b0
Apply suggestions from code review - Joris
AlenkaF d27d48f
Use pa.FixedSizeListArray.from_arrays(..) in from_numpy_ndarray()
AlenkaF 8e790b4
Change fixedshapetensor to fixed_shape_tensor
AlenkaF 64e0cd0
Add tests for all the custom attributes
AlenkaF 48cbeb3
Add test for numpy F-contiguous
AlenkaF d9ca165
Correct dim_names() to return list of strings, not bytes
AlenkaF d3530af
Correct dim_names and permutation methods to return None and not empt…
AlenkaF e2ce8ba
Replace FixedShapeTensorType with fixed_shape_tensor in FixedShapeTen…
AlenkaF ee5d25c
Update from_numpy_ndarray docstrings
AlenkaF f5a5c0c
Update public-api.pxi
AlenkaF 52f9e7e
Update python/pyarrow/types.pxi
AlenkaF f9dee9e
Merge branch 'main' into python-binding-tensor-extension-type
AlenkaF b171d00
Use ravel insted of flatten and raise ValueError if numpy array is no…
AlenkaF c0ec94c
Remove CFixedShapeTensorType binding in libarrow
AlenkaF f2d9fe7
Fix doctest failure
AlenkaF 8b5dc93
Add explanation of permutation from the spec to the docstring of fixe…
AlenkaF 570f086
from_numpy_ndarray should be a static method
AlenkaF 3dbbe20
Apply suggestions from code review
AlenkaF 223968a
Apply suggestions from code review
AlenkaF dd8fd31
Update to_numpy_ndarraydocstring
AlenkaF 1ebb829
Add a check for non-trivial permutation in to_numpy_ndarray
AlenkaF b2d0453
Update python/pyarrow/array.pxi
AlenkaF File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.