-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(python): Add map type constructor (#687)
When working on fixing a problem with Arrow C++'s map type import, I realized there was no way to create map types or any of the canonical extensions. Extensions are slightly different and I'll tackle them later, but map types are relatively straightforward and follow the existing pattern of all the other constructors: ```python import nanoarrow as na na.map_(na.string(), na.int32()) #> <Schema> map<entries: struct<key: string, value: int32>> ```
- Loading branch information
1 parent
116cdad
commit 253b7ec
Showing
4 changed files
with
107 additions
and
11 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