Skip to main content
Version: 1.2.1

DataFrameAsset

class great_expectations.datasource.fluent.spark_datasource.DataFrameAsset(*, name: str, type: Literal['dataframe'] = 'dataframe', id: Optional[uuid.UUID] = None, order_by: List[great_expectations.datasource.fluent.interfaces.Sorter] = None, batch_metadata: Dict[str, Any] = None, batch_definitions: List[great_expectations.core.batch_definition.BatchDefinition] = None)#

add_batch_definition_whole_dataframe(name: str) BatchDefinition#
delete_batch_definition(name: str) None#

Delete a batch definition.

Parameters

name (str) – Name of the BatchDefinition to delete.

get_batch_definition(name: str) great_expectations.core.batch_definition.BatchDefinition#

Get a batch definition.

Parameters

name (str) – Name of the BatchDefinition to get.

Raises

KeyError – If the BatchDefinition does not exist.