Skip to main content

This library is for utility functions around the polars dataframe library, paticulary compressing integer datatypes and also sting to categorical

Project description

polars-types

This library is centered around down casting datatypes in python polars. hopefully this kind of feature will be standard eventually The library can help polars users achieve the memory compression offered by the underlying data format used for python-polars - a columnar data store

There are so far two key functions

One function that identifies integer ranges and selects the appropriate integer datatype (bit resolution and signedness) One function that converts non-unique string columns to categorical columns

Future:

  • itentify non-repeating values as attributes or as type literal

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polarstypes-0.1.2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polarstypes-0.1.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file polarstypes-0.1.2.tar.gz.

File metadata

  • Download URL: polarstypes-0.1.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for polarstypes-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6e615dc8071f0a6329599e26c5bcbac7ea360622e806e80bce3a2ca6e6f0494a
MD5 da35f49e0c1cf3cf1e97b310ef90b1f3
BLAKE2b-256 12908e3e5d0d3b75fc6a9d84b91eff348302debc686b67fe3d8f7a8ed4e86539

See more details on using hashes here.

File details

Details for the file polarstypes-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: polarstypes-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for polarstypes-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e147be771b3641b2454770f0c8c3b9806f3d8e23636f779a7b2a87b41df686d8
MD5 e2e2b982bb8def78f1b8ffa2c3a1c895
BLAKE2b-256 8a55d0a498dfaf6c287e7fe6c8117c401ecb7b0def4a81ebd3ab68e5761cd413

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page