Core
stores.tables.core.TableStore(path, disk_format=DiskFormat.NONE, **kwargs)
¶
Bases: Store
, ABC
Abstract interface for tabular data.
PARAMETER | DESCRIPTION |
---|---|
path
|
Directory to store all tables. We recommend " |
disk_format
|
Format to store data on disk.
TYPE:
|
kind = StoreKind.TABLE
class-attribute
instance-attribute
¶
query(path, ensemble_id=None, run_id=None, microstate_id=None, filter_expr=None, **kwargs)
abstractmethod
¶
Query a named table using a filter expression.
PARAMETER | DESCRIPTION |
---|---|
path
|
Container/table name. |
ensemble_id
|
A unique identification label for an ensemble.
This can be
TYPE:
|
run_id
|
An unique, independent run within the same ensemble. This often arises when running multiple independent molecular simulation trajectories with different random seeds.
TYPE:
|
microstate_id
|
An index specifying a microstate with some relationship to order. This can be a frame in a molecular simulation trajectories, docking scores from best to worst, optimization steps, etc.
TYPE:
|
filter_expr
|
string expression to filter rows.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
Any
|
Filtered DataFrame. |