This module supports the conversion between Deephaven tables and numpy arrays.
- column_to_numpy_array(col_def, j_array)¶
Produces a numpy array from the given Java array and the Table column definition.
- Return type
Returns a static snapshot of the source ticking table.
- to_numpy(table, cols=None)¶
Produces a numpy array from a table.
Note that the entire table is going to be cloned into memory, so the total number of entries in the table should be considered before blindly doing this. For large tables, consider using the Deephaven query language to select a subset of the table before using this method.