PandasS3Datasource
class great_expectations.datasource.fluent.PandasS3Datasource(*, type: Literal['pandas_s3'] = 'pandas_s3', name: str, id: Optional[uuid.UUID] = None, assets: List[great_expectations.datasource.fluent.data_asset.path.file_asset.FileDataAsset] = [], bucket: str, boto3_options: Dict[str, Union[great_expectations.datasource.fluent.config_str.ConfigStr, Any]] = )#
- add_csv_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ffa181130> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ffa1811f0> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ffa181340> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ffa181610> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ffa1814f0> = None, sep: typing.Optional[str] = None, delimiter: typing.Optional[str] = None, header: Union[int, Sequence[int], None, Literal['infer']] = 'infer', names: Union[Sequence[str], None] = None, index_col: Union[IndexLabel, Literal[False], None] = None, usecols: typing.Optional[typing.Union[int, str, typing.Sequence[int]]] = None, dtype: typing.Optional[dict] = None, engine: Union[CSVEngine, None] = None, true_values: typing.Optional[typing.List] = None, false_values: typing.Optional[typing.List] = None, skipinitialspace: bool = False, skiprows: typing.Optional[typing.Union[typing.Sequence[int], int]] = None, skipfooter: int = 0, nrows: typing.Optional[int] = None, na_values: Union[Sequence[str], None] = None, keep_default_na: bool = True, na_filter: bool = True, verbose: bool = False, skip_blank_lines: bool = True, parse_dates: Union[bool, Sequence[str], None] = None, infer_datetime_format: bool = None, keep_date_col: bool = False, date_format: typing.Optional[str] = None, dayfirst: bool = False, cache_dates: bool = True, iterator: bool = False, chunksize: typing.Optional[int] = None, compression: CompressionOptions = 'infer', thousands: typing.Optional[str] = None, decimal: str = '.', lineterminator: typing.Optional[str] = None, quotechar: str = '"', quoting: int = 0, doublequote: bool = True, escapechar: typing.Optional[str] = None, comment: typing.Optional[str] = None, encoding: typing.Optional[str] = None, encoding_errors: typing.Optional[str] = 'strict', dialect: typing.Optional[str] = None, on_bad_lines: str = 'error', delim_whitespace: bool = False, low_memory: bool = True, memory_map: bool = False, float_precision: Union[Literal['high', 'legacy'], None] = None, storage_options: Union[StorageOptions, None] = None, dtype_backend: DtypeBackend = None, **extra_data: typing.Any)pydantic.BaseModel #
- add_excel_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ffa182540> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ffa182510> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ffa182b10> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ffa182480> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ffa183500> = None, sheet_name: typing.Optional[typing.Union[str, int, typing.List[typing.Union[int, str]]]] = 0, header: Union[int, Sequence[int], None] = 0, names: typing.Optional[typing.List[str]] = None, index_col: Union[int, Sequence[int], None] = None, usecols: typing.Optional[typing.Union[int, str, typing.Sequence[int]]] = None, dtype: typing.Optional[dict] = None, engine: Union[Literal['xlrd', 'openpyxl', 'odf', 'pyxlsb'], None] = None, true_values: Union[Iterable[str], None] = None, false_values: Union[Iterable[str], None] = None, skiprows: typing.Optional[typing.Union[typing.Sequence[int], int]] = None, nrows: typing.Optional[int] = None, na_values: typing.Any = None, keep_default_na: bool = True, na_filter: bool = True, verbose: bool = False, parse_dates: typing.Union[typing.List, typing.Dict, bool] = False, date_format: typing.Optional[str] = None, thousands: typing.Optional[str] = None, decimal: str = '.', comment: typing.Optional[str] = None, skipfooter: int = 0, storage_options: Union[StorageOptions, None] = None, dtype_backend: DtypeBackend = None, engine_kwargs: typing.Optional[typing.Dict] = None, **extra_data: typing.Any)pydantic.BaseModel #
- add_feather_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcc4d0> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fccad0> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fccc20> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fccdd0> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcce90> = None, columns: Union[Sequence[str], None] = None, use_threads: bool = True, storage_options: Union[StorageOptions, None] = None, dtype_backend: DtypeBackend = None, **extra_data: typing.Any)pydantic.BaseModel #
- add_fwf_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcd610> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcd6d0> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcd820> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcd9d0> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcda90> = None, colspecs: Union[Sequence[Tuple[int, int]], str, None] = 'infer', widths: Union[Sequence[int], None] = None, infer_nrows: int = 100, dtype_backend: DtypeBackend = None, kwargs: typing.Optional[dict] = None, **extra_data: typing.Any)pydantic.BaseModel #
add_hdf_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fce360> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fce420> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fce570> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fce720> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fce7e0> = None, key: typing.Any = None, mode: str = 'r', errors: str = 'strict', where: typing.Optional[typing.Union[str, typing.List]] = None, start: typing.Optional[int] = None, stop: typing.Optional[int] = None, columns: typing.Optional[typing.List[str]] = None, iterator: bool = False, chunksize: typing.Optional[int] = None, kwargs: typing.Optional[dict] = None, **extra_data: typing.Any) pydantic.BaseModel #
- add_html_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcefc0> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcf080> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcf1d0> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcf380> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ff9fcf440> = None, match: Union[str, Pattern] = '.+', flavor: typing.Optional[str] = None, header: Union[int, Sequence[int], None] = None, index_col: Union[int, Sequence[int], None] = None, skiprows: typing.Optional[typing.Union[typing.Sequence[int], int]] = None, attrs: typing.Optional[typing.Dict[str, str]] = None, parse_dates: bool = False, thousands: typing.Optional[str] = ',', encoding: typing.Optional[str] = None, decimal: str = '.', converters: typing.Optional[typing.Dict] = None, na_values: Union[Iterable[object], None] = None, keep_default_na: bool = True, displayed_only: bool = True, extract_links: Literal[None, 'header', 'footer', 'body', 'all'] = None, dtype_backend: DtypeBackend = None, storage_options: StorageOptions = None, **extra_data: typing.Any)pydantic.BaseModel #
add_json_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ffa0041a0> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ffa004260> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ffa0043b0> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ffa004560> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ffa004620> = None, orient: typing.Optional[str] = None, typ: Literal['frame', 'series'] = 'frame', dtype: typing.Optional[dict] = None, convert_axes: typing.Optional[bool] = None, convert_dates: typing.Union[bool, typing.List[str]] = True, keep_default_dates: bool = True, precise_float: bool = False, date_unit: typing.Optional[str] = None, encoding: typing.Optional[str] = None, encoding_errors: typing.Optional[str] = 'strict', lines: bool = False, chunksize: typing.Optional[int] = None, compression: CompressionOptions = 'infer', nrows: typing.Optional[int] = None, storage_options: Union[StorageOptions, None] = None, dtype_backend: DtypeBackend = None, **extra_data: typing.Any) pydantic.BaseModel #
add_orc_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ffa005190> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ffa005250> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ffa0053a0> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ffa005550> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ffa005610> = None, columns: typing.Optional[typing.List[str]] = None, dtype_backend: DtypeBackend = None, kwargs: typing.Optional[dict] = None, **extra_data: typing.Any) pydantic.BaseModel #
add_parquet_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ffa005d60> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ffa005e20> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ffa005f70> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ffa006120> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ffa0061e0> = None, engine: str = 'auto', columns: typing.Optional[typing.List[str]] = None, storage_options: Union[StorageOptions, None] = None, use_nullable_dtypes: bool = None, dtype_backend: DtypeBackend = None, kwargs: typing.Optional[dict] = None, **extra_data: typing.Any) pydantic.BaseModel #
add_pickle_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ffa006960> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ffa006a20> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ffa006b70> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ffa006d20> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ffa006de0> = None, compression: CompressionOptions = 'infer', storage_options: Union[StorageOptions, None] = None, **extra_data: typing.Any) pydantic.BaseModel #
add_sas_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ffa0074a0> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ffa007560> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ffa0076b0> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ffa007860> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ffa007920> = None, format: typing.Optional[str] = None, index: typing.Optional[str] = None, encoding: typing.Optional[str] = None, chunksize: typing.Optional[int] = None, iterator: bool = False, compression: CompressionOptions = 'infer', **extra_data: typing.Any) pydantic.BaseModel #
add_spss_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ffa024110> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ffa0241d0> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ffa024320> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ffa0244d0> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ffa024590> = None, usecols: typing.Optional[typing.Union[int, str, typing.Sequence[int]]] = None, convert_categoricals: bool = True, dtype_backend: DtypeBackend = None, **extra_data: typing.Any) pydantic.BaseModel #
- add_stata_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ffa024d70> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ffa024e30> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ffa024f80> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ffa025130> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ffa0251f0> = None, convert_dates: bool = True, convert_categoricals: bool = True, index_col: typing.Optional[str] = None, convert_missing: bool = False, preserve_dtypes: bool = True, columns: Union[Sequence[str], None] = None, order_categoricals: bool = True, chunksize: typing.Optional[int] = None, iterator: bool = False, compression: CompressionOptions = 'infer', storage_options: Union[StorageOptions, None] = None, **extra_data: typing.Any)pydantic.BaseModel #
- add_xml_asset(name: str, *, id: <pydantic.v1.fields.DeferredType object at 0x7f5ffa025af0> = None, order_by: <pydantic.v1.fields.DeferredType object at 0x7f5ffa025bb0> = None, batch_metadata: <pydantic.v1.fields.DeferredType object at 0x7f5ffa025d00> = None, batch_definitions: <pydantic.v1.fields.DeferredType object at 0x7f5ffa025eb0> = None, connect_options: <pydantic.v1.fields.DeferredType object at 0x7f5ffa025f70> = None, xpath: str = './*', namespaces: typing.Optional[typing.Dict[str, str]] = None, elems_only: bool = False, attrs_only: bool = False, names: Union[Sequence[str], None] = None, dtype: typing.Optional[dict] = None, encoding: typing.Optional[str] = 'utf-8', stylesheet: Union[FilePath, None] = None, iterparse: typing.Optional[typing.Dict[str, typing.List[str]]] = None, compression: CompressionOptions = 'infer', storage_options: Union[StorageOptions, None] = None, dtype_backend: DtypeBackend = None, **extra_data: typing.Any)pydantic.BaseModel #
- delete_asset(name: str)None #
Removes the DataAsset referred to by asset_name from internal list of available DataAsset objects.
- Parameters
name – name of DataAsset to be deleted.
- get_asset(name: str)great_expectations.datasource.fluent.interfaces._DataAssetT #
Returns the DataAsset referred to by asset_name
- Parameters
name – name of DataAsset sought.
- Returns
_DataAssetT – if named “DataAsset” object exists; otherwise, exception is raised.