deephaven.plot.selectable_dataset

This module defines the SelectableDateSet which is used to provides a view of a selectable subset of a table. For example, in some selectable data sets, a GUI click can be used to select a portion of a table.

class SelectableDataSet(j_sds)[source]

Bases: JObjectWrapper

A SelectableDataSet provides a view of a selectable subset of a table. For example, in some selectable data sets, a GUI click can be used to select a portion of a table.

j_object_type

alias of SelectableDataSet

one_click(t, by=None, require_all_filters=False)[source]

Creates a SelectableDataSet with the specified columns from a table.

Parameters:
  • t (Table) – the source table

  • by (List[str]) – the selected columns

  • require_all_filters (bool) – false to display data when not all oneclicks are selected; true to only display data when appropriate oneclicks are selected

Return type:

SelectableDataSet

Returns:

a SelectableDataSet

Raises:

DHError

one_click_partitioned_table(pt, require_all_filters=False)[source]

Creates a SelectableDataSet with the specified columns from the table map.

Parameters:
  • pt (PartitionedTable) – the source partitioned table

  • require_all_filters (bool) – false to display data when not all oneclicks are selected; true to only display data when appropriate oneclicks are selected

Return type:

SelectableDataSet

Returns:

a SelectableDataSet

Raises:

DHError