Skip to main content

Connection.list_datasets

Connection.list_datasets(df=False)

List datasets associated with this connection.

Parameters:

   df: bool, default False
Whether to return a DataFrame or a list of objects.

Returns:

   pd.DataFrame

  OR

   List[Dataset]

Examples:

Get a connection by name.

    connection = pc.get_connection('S3 Connection')

Display the datsets associated with this S3 connection.

    connection.list_datasets()