one_click

The one_click method creates a SelectableDataSet with the specified columns from a source table. This is useful for dynamic plotting, where Deephaven requires a SelectableDataSet instead of a standard table to execute certain operations.

Syntax

Parameters

ParameterTypeDescription
tTable

The source table.

by optionallist[str]

The selected columns.

require_all_filters optionalbool

Whether to display data when some, but not all, input filters are applied.

  • False (default) will display data when not all filters are applied.
  • True will only display data when appropriate filters are applied.

Returns

A SelectableDataSet.

Examples

In this example, we create a source table, then use one_click to create a SelectableDataSet copy of the table. Then, we use plot_xy to turn our SelectableDataSet into a plot, which can then be filtered via Controls > Input Filter in the user interface.

A user creates a plot using the Input Filter tool