Documentation Index
Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
Use this file to discover all available pages before exploring further.
Session.read_pandas(dataframe, /, *, data_types=frozendict({}), default_values=frozendict({}), keys=frozenset({}), partitioning=None, table_name, **kwargs)
Read a pandas DataFrame into a table.This is just a shortcut for:The longer variant can be refactored to move the
load() call inside a data_transaction().- Parameters:
- data_types (Mapping [str , DataType ]) – Data types for some or all columns of the table. Data types for non specified columns will be inferred from the dataframe dtypes.
- dataframe (pd.DataFrame) – The DataFrame to load.
- default_values (Mapping [str , Constant | None ]) – See
create_table()’s default_values. - keys (AbstractSet [str ] | Sequence [str ]) – See
create_table()’s keys. - partitioning (str | None) – See
create_table()’s partitioning. - table_name (str) – See
create_table()’s name. - kwargs (Unpack [ _ReadPandasPrivateParameters ])
- Return type: Table