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
| Parameter | Type | Description |
|---|---|---|
| t | Table | The source table. |
| by optional | list[str] | The selected columns. |
| require_all_filters optional | bool | Whether to display data when some, but not all, input filters are applied.
|
Returns
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.
