pb.datasets.get
pb.datasets.get(dataset_ref=None)
Get and return the specified dataset
Parameters:
dataset_ref: str
Name of dataset to return. By default, the dataset is searched for under the file_uploads
connection.
If the dataset is connected another way, please specify the connection name in dataset_ref
as follows: f"{connection_name}/{file_name}"
Returns:
Dataset
Examples:
Get a Dataset by name
dataset = pb.datasets.get("tldr_dataset") # Looks for "tldr_dataset" under file_uploads
snowflake_dataset = pb.datasets.get("snowflake_connection_name/tldr_sf_dataset") # Looks for "tldr_sf_dataset" under snowflake_connection_name