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.1.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.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: polarstypes-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 417602c22a223137fe60a797dda8603a1397833cd261bb579441ffc8a8127361
MD5 786200cb9a531b8bc6d3c768b33bb73b
BLAKE2b-256 58c63283e9c724029ebcaa72a00812610cbf08f7a0190dc0fb97073321568d9f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: polarstypes-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 61a2ad8caa6094aaa383bd434e8bd3f307643363d986b364631dc3bc1e15ed22
MD5 8f01b9aae911cfc1e71e513695cb70c8
BLAKE2b-256 e3d3f8223847b900d7a8d090fb584137f512de4e9ce0929d9d6c74dd18de3949

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