ds_resource_plugin_py_lib.common.serde.deserialize.awswrangler ============================================================== .. py:module:: ds_resource_plugin_py_lib.common.serde.deserialize.awswrangler .. autoapi-nested-parse:: **File:** ``awswrangler.py`` **Region:** ``ds_resource_plugin_py_lib/common/serde/deserialize`` Description ----------- Deserialize a value into a pandas DataFrame using awswrangler. .. rubric:: Example .. code-block:: python 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 ---------- .. autoapisummary:: ds_resource_plugin_py_lib.common.serde.deserialize.awswrangler.logger Classes ------- .. autoapisummary:: ds_resource_plugin_py_lib.common.serde.deserialize.awswrangler.AwsWranglerDeserializer Module Contents --------------- .. py:data:: logger .. py:class:: AwsWranglerDeserializer Bases: :py:obj:`ds_resource_plugin_py_lib.common.serde.deserialize.base.DataDeserializer` Extensible class to deserialize dataset content. Not supposed to be used directly, but to be subclassed. .. py:attribute:: format :type: ds_resource_plugin_py_lib.common.resource.dataset.storage_format.DatasetStorageFormatType .. py:attribute:: kwargs :type: dict[str, Any] .. py:method:: __call__(value: Any, **kwargs: Any) -> pandas.DataFrame Deserialize a value into a pandas DataFrame. :param value: The value to deserialize. :param \*\*kwargs: Additional keyword arguments. :returns: A pandas DataFrame.