ds_resource_plugin_py_lib.common.serde.deserialize.awswrangler¶
File: awswrangler.py
Region: ds_resource_plugin_py_lib/common/serde/deserialize
Description¶
Deserialize a value into a pandas DataFrame using awswrangler.
Example
import boto3
from ds_resource_plugin_py_lib.common.serde.deserialize.awswrangler import AwsWranglerDeserializer
from ds_resource_plugin_py_lib.common.resource.dataset.storage_format import DatasetStorageFormatType
boto3_session = boto3.Session()
deserializer = AwsWranglerDeserializer(format=DatasetStorageFormatType.PARQUET)
df = deserializer("s3://my-bucket/path/to/data.parquet", boto3_session=boto3_session)
Attributes¶
Classes¶
Extensible class to deserialize dataset content. |
Module Contents¶
- ds_resource_plugin_py_lib.common.serde.deserialize.awswrangler.logger¶
- class ds_resource_plugin_py_lib.common.serde.deserialize.awswrangler.AwsWranglerDeserializer[source]¶
Bases:
ds_resource_plugin_py_lib.common.serde.deserialize.base.DataDeserializerExtensible class to deserialize dataset content.
Not supposed to be used directly, but to be subclassed.
- kwargs: dict[str, Any]¶