Skip to main content

Dataset.get_fields

Dataset.get_fields()

Get all the fields present in the current datatset.

Parameters:

   None

Returns:

   List[DataField]

Examples:

Get all the fields in a specific dataset.

    dataset = pc.get_dataset(dataset_name='Titanic Dataset', connection_name='Postgres Connection')
dataset.get_fields()