-
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: expanded Python docs + Rust docs (#1137)
- Loading branch information
Showing
39 changed files
with
1,144 additions
and
130 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
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,3 @@ | ||
html .pst-navbar-icon { | ||
font-size: 1.5rem; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Array Data Types | ||
================ | ||
|
||
The logical types of the elements of an Array. Each logical type is implemented by a variety of | ||
Array encodings which describe both a representation-as-bytes as well as how to apply operations on | ||
that representation. | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
|
||
~vortex.dtype.DType | ||
~vortex.dtype.binary | ||
~vortex.dtype.bool | ||
~vortex.dtype.float | ||
~vortex.dtype.int | ||
~vortex.dtype.null | ||
~vortex.dtype.uint | ||
~vortex.dtype.utf8 | ||
|
||
.. raw:: html | ||
|
||
<hr> | ||
|
||
.. automodule:: vortex.dtype | ||
: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Arrays | ||
====== | ||
|
||
A Vortex array is a possibly compressed ordered set of homogeneously typed values. Each array has a | ||
logical type and a physical encoding. The logical type describes the set of operations applicable to | ||
the values of this array. The physical encoding describes how this array is realized in memory, on | ||
disk, and over the wire and how to apply operations to that realization. | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
|
||
~vortex.encoding.array | ||
~vortex.encoding.compress | ||
~vortex.encoding.Array | ||
|
||
.. raw:: html | ||
|
||
<hr> | ||
|
||
.. autofunction:: vortex.encoding.array | ||
|
||
.. autofunction:: vortex.encoding.compress | ||
|
||
.. autoclass:: vortex.encoding.Array | ||
:members: | ||
:special-members: __len__ |
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,26 @@ | ||
Expressions | ||
=========== | ||
|
||
Vortex expressions represent simple filtering conditions on the rows of a Vortex array. For example, | ||
the following expression represents the set of rows for which the `age` column lies between 23 and | ||
55: | ||
|
||
.. doctest:: | ||
|
||
>>> import vortex | ||
>>> age = vortex.expr.column("age") | ||
>>> (23 > age) & (age < 55) # doctest: +SKIP | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
|
||
~vortex.expr.column | ||
~vortex.expr.Expr | ||
|
||
.. raw:: html | ||
|
||
<hr> | ||
|
||
.. autofunction:: vortex.expr.column | ||
|
||
.. autoclass:: vortex.expr.Expr |
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,12 @@ | ||
Python API | ||
========== | ||
|
||
.. toctree:: | ||
:maxdepth: 5 | ||
|
||
encoding | ||
dtype | ||
io | ||
dataset | ||
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,20 @@ | ||
Input and Output | ||
================ | ||
|
||
Vortex arrays support reading and writing to local and remote file systems, including plain-old | ||
HTTP, S3, Google Cloud Storage, and Azure Blob Storage. | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
|
||
~vortex.io.read_path | ||
~vortex.io.read_url | ||
~vortex.io.write_path | ||
|
||
.. raw:: html | ||
|
||
<hr> | ||
|
||
.. automodule:: vortex.io | ||
: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Scalars | ||
======= | ||
|
||
A scalar is a single atomic value like the integer ``1``, the string ``"hello"``, or the structure | ||
``{"age": 55, "name": "Angela"}``. The :meth:`.Array.scalar_at` method | ||
returns a native Python value when the cost of doing so is small. However, for larger values like | ||
binary data, UTF-8 strings, variable-length lists, and structures, Vortex returns a zero-copy *view* | ||
of the Array data. The ``into_python`` method of each view will copy the scalar into a native Python | ||
value. | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
|
||
~vortex.scalar.Buffer | ||
~vortex.scalar.BufferString | ||
~vortex.scalar.VortexList | ||
~vortex.scalar.VortexStruct | ||
|
||
.. raw:: html | ||
|
||
<hr> | ||
|
||
.. automodule:: vortex.scalar | ||
:members: | ||
:imported-members: |
Oops, something went wrong.