tstore.archive.attributes package#

Submodules#

tstore.archive.attributes.dask module#

Created on Mon Jun 12 23:22:06 2023.

@author: ghiggi

tstore.archive.attributes.geopandas module#

Created on Mon Jun 12 23:22:11 2023.

@author: ghiggi

tstore.archive.attributes.geopandas.read_geometry(base_dir: str, id_var: str) GeoDataFrame | None[source]#

Read TStore geometry in a GeoDataFrame.

tstore.archive.attributes.pandas module#

Created on Mon Jun 12 23:22:02 2023.

@author: ghiggi

tstore.archive.attributes.pandas.read_attributes(base_dir, tstore_ids=None)[source]#

Read TStore attributes in a pandas.DataFrame.

tstore.archive.attributes.pandas.write_attributes(df, base_dir)[source]#

Write static attributes dataframe.

Assume df pandas ! TODO: polars, pyarrow does not have index –> Ensure tstore_id column

tstore.archive.attributes.polars module#

Created on Mon Jun 12 23:22:22 2023.

@author: ghiggi

tstore.archive.attributes.pyarrow module#

Created on Mon Jun 12 23:22:16 2023.

@author: ghiggi

tstore.archive.attributes.pyarrow.get_tstore_ids_filters(tstore_ids=None)[source]#

Define filters for Parquet Dataset subsetting at read-time.

tstore.archive.attributes.pyarrow.read_attributes(base_dir, tstore_ids=None, filesystem=None, use_threads=True)[source]#

Read TStore attributes in a pyarrow.Table.

Module contents#

Created on Mon Jun 12 23:21:19 2023.

@author: ghiggi