atoti.Table#

final class atoti.Table#

In-memory table of a Session.

>>> table = session.create_table(
...     "Example",
...     data_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

drop

Delete some of the table's rows.

head

Return at most n random rows of the table.

join

Define a join between this source table and the target table.

keys

Names of the key columns of the table.

load

Load data into the table.

load_async

Load data into the table asynchronously.

name

Name of the table.

query

Query the table to retrieve some of its rows.

row_count

The number of rows in the table.

scenario

Scenario on which the table is.

scenarios

All the scenarios the table can be on.

stream

Stream data into the table.