deephaven_enterprise.table_tools

read_table(path)[source]

Read the Deephaven format table at the specified path.

Parameters:

path (str) – the path to the table

Returns:

the read table

write_table(table, path, table_definition=None)[source]

Write the input table to the specified path in Deephaven format. This method allows you to provide a separate table definition so that users may specify different column attributes (grouping, for example) than the supplied source table may have.

The supplied definition must be compatible with the definition of the input table

If you do not need to adjust column attributes then use write_table(table: Table, path: str) instead.

Parameters:
  • table (Table) – the input table to write

  • table_definition

  • path (str) – the path to write to