deephaven.numpy#
This module supports the conversion between Deephaven tables and numpy arrays.
- column_to_numpy_array(col_def, j_array)[source]#
Produces a numpy array from the given Java array and the Table column definition.
- Return type:
ndarray
- to_numpy(table, cols=None)[source]#
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.