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

Uploaded Python 3

File details

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

File metadata

  • Download URL: polarstypes-0.2.0.tar.gz
  • Upload date:
  • Size: 4.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.0.tar.gz
Algorithm Hash digest
SHA256 4b1a604170a866e982ae94b57e52225c56a73778c0b4f3b82eacc9fe840f7a86
MD5 1b8f2b3132a703d2c1f217a9bd392f72
BLAKE2b-256 7a65a9b71da84a9c59ef3f905816480ad4ecc770b5484b8ca265dccb4f0aa8ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: polarstypes-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b9cea33c2a66f11a0dec594c6ee9b65fa054f7f96c6be3878c8a3ec8baee8f0
MD5 0afe44754bd4c260023cb528dc65aea3
BLAKE2b-256 3f7ce68c6df1b173be268423938898de0003fde64bb7ba84f57b2595f6d82ea5

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