Skip to main content

This library is for utility functions around the polars dataframe library, particularly compressing integer datatypes and also string 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.2.3.tar.gz (5.0 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.2.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for polarstypes-0.2.3.tar.gz
Algorithm Hash digest
SHA256 c7db5b9cc0c86aad22b102a4142682c7ae26a15d06b7a25c13b8c15f80220533
MD5 954b35a18d63b000839247f2b54f647f
BLAKE2b-256 a40514afa16c15ae87f647b36685390b41fd561c7b91a51ff3fa744862895c17

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for polarstypes-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f292096aa03e8ffc37c6d1d7fd7712510458a94099ed80c386d37363189fb4d5
MD5 6ae86da00501314d9b8a8197e5bd2729
BLAKE2b-256 53c186436b2061c10ff9bfab8ff85fb982eb4354274bb58cb0644cf6ac0b6fa9

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