zcollection.dataset.Dataset.select_vars#

Dataset.select_vars(names)[source]#

Return a new dataset containing only the selected variables.

Parameters:

names (str | Sequence[str]) – Variable names to select.

Returns:

A new dataset containing only the selected variables.

Return type:

Dataset