evo-objects 0.4.2__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {evo_objects-0.4.2 → evo_objects-0.4.3}/PKG-INFO +1 -1
- {evo_objects-0.4.2 → evo_objects-0.4.3}/pyproject.toml +1 -1
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/utils/data.py +3 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/.gitignore +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/LICENSE.md +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/__init__.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/_model_config.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/client/__init__.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/client/api_client.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/client/object_client.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/client/parse.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/data.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/endpoints/__init__.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/endpoints/api/__init__.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/endpoints/api/data_api.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/endpoints/api/metadata_api.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/endpoints/api/objects_api.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/endpoints/api/stages_api.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/endpoints/models.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/exceptions.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/io.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/parquet/__init__.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/parquet/loader.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/py.typed +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/__init__.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/_data.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/_grid.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/_model.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/_utils.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/attributes.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/base.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/block_model_ref.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/exceptions.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/pointset.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/regular_grid.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/regular_masked_grid.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/spatial.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/tensor_grid.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/types.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/typed/variogram.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/utils/__init__.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/utils/table_formats.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/utils/tables.py +0 -0
- {evo_objects-0.4.2 → evo_objects-0.4.3}/src/evo/objects/utils/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: evo-objects
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Python SDK for using the Seequent Evo Geoscience Object API
|
|
5
5
|
Project-URL: Source, https://github.com/SeequentEvo/evo-python-sdk
|
|
6
6
|
Project-URL: Tracker, https://github.com/SeequentEvo/evo-python-sdk/issues
|
|
@@ -73,6 +73,7 @@ def _get_schema_from_dataframe(dataframe: "pd.DataFrame") -> pa.Schema:
|
|
|
73
73
|
This hook centralizes dataframe-to-Arrow schema adjustments before the
|
|
74
74
|
dataframe is converted to a table. It currently performs these conversions:
|
|
75
75
|
- large_string -> string
|
|
76
|
+
- dictionary<*, large_string> -> dictionary<*, string>
|
|
76
77
|
|
|
77
78
|
:param dataframe: The pandas dataframe to get the schema from.
|
|
78
79
|
:return: A pyarrow schema with any configured type conversions applied.
|
|
@@ -82,6 +83,8 @@ def _get_schema_from_dataframe(dataframe: "pd.DataFrame") -> pa.Schema:
|
|
|
82
83
|
for field in schema:
|
|
83
84
|
if pa.types.is_large_string(field.type):
|
|
84
85
|
fields.append(field.with_type(pa.string()))
|
|
86
|
+
elif pa.types.is_dictionary(field.type) and pa.types.is_large_string(field.type.value_type):
|
|
87
|
+
fields.append(field.with_type(pa.dictionary(field.type.index_type, pa.string())))
|
|
85
88
|
else:
|
|
86
89
|
fields.append(field)
|
|
87
90
|
return pa.schema(fields)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|