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.0.tar.gz (6.2 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.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: polarstypes-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 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.0.tar.gz
Algorithm Hash digest
SHA256 f428e1b85028b0864a444d76f91e97bd056425ed93932dca35be51f0f61b1754
MD5 5342a0dcfb35d5982117996199a62417
BLAKE2b-256 5eacb408942a9a1f3539fc412590f803426b0d17b9f1829dbe231cac571d87a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: polarstypes-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a724d81318b5ec736b7ecdad869183500a5a0a0cf76525963188ef6c86a2d40
MD5 5d13194533a02e8d3d1d0aa2570f5083
BLAKE2b-256 c8539b7e38e3b84917b0485909abf390ba8ce7dcda858800b2e3c928b396fcb4

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