-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: teach PyArray scalar_at (#1095)
I intentionally do not implement __getitem__ because I need to think harder about the implications of that. For example, do we ever want __getitem__ on an Array to get a child array of a StructArray?
- Loading branch information
Showing
9 changed files
with
374 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ Vortex is an Apache Arrow-compatible toolkit for working with compressed array d | |
dtype | ||
io | ||
expr | ||
scalar |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Scalar Values | ||
============= | ||
|
||
.. automodule:: vortex.scalar | ||
:members: | ||
:imported-members: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
from . import encoding | ||
from ._lib import __doc__ as module_docs | ||
from ._lib import dtype, expr, io | ||
from ._lib import dtype, expr, io, scalar | ||
|
||
__doc__ = module_docs | ||
del module_docs | ||
array = encoding.array | ||
|
||
__all__ = ["array", dtype, expr, io, encoding] | ||
__all__ = ["array", dtype, expr, io, encoding, scalar] |
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.