[docs]defread_table(path:str):""" Read the Deephaven format table at the specified path. :param path: the path to the table :return: the read table """returnTable(j_table=_j_enterprise_table_tools.readTable(path))
[docs]defwrite_table(table:Table,path:str,table_definition=None):""" 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. :param table: the input table to write :param table_definition: :param path: the path to write to """_j_enterprise_table_tools.writeTable(table.j_table,table.j_table.getDefinition()iftable_definitionisNoneelsetable_definition,path)