-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Images] [4/N] Add
Image
series --> Python (NumPy) series casting. (#…
…990) This PR adds an `Image` series --> Python egress path via the casting kernel, where elements in an `ImageArray` series are converted to NumPy ndarrays when hit with a `.cast(DataType::Python)`. This is added for both the fixed-shape image and variable-shape image arrays. Automatic conversion of PIL images on `Series.from_pylist()` and to NumPy ndarrays on `Series.to_pylist()` is saved for a future PR.
- Loading branch information
1 parent
74e3ca5
commit 8cc6e69
Showing
5 changed files
with
160 additions
and
72 deletions.
There are no files selected for viewing
This file contains 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 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 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 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.