atoti.Table#
- final class atoti.Table#
In-memory table of a
Session
.Example
>>> table = session.create_table( ... "Example", ... types={"Product": "String", "Quantity": "int"}, ... )
Listing all the column names:
>>> list(table) ['Product', 'Quantity']
Testing if the table has a given column:
>>> "Product" in table True >>> "Price" in table False
Add one or multiple rows to the table. |
|
Delete some of the table's rows. |
|
Return at most n random rows of the table. |
|
Define a join between this source table and the target table. |
|
Names of the key columns of the table. |
|
Load an Arrow Table into this scenario. |
|
Load a CSV into this scenario. |
|
Consume a Kafka topic and stream its records in the table. |
|
Load a NumPy 2D array into this scenario. |
|
Load a pandas DataFrame into this scenario. |
|
Load a Parquet file into this scenario. |
|
Load a Spark DataFrame into this scenario. |
|
Load the result of the passed SQL query into the table. |
|
Name of the table. |
|
Query the table to retrieve some of its rows. |
|
The number of rows in the table. |
|
Scenario on which the table is. |
|
All the scenarios the table can be on. |