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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file polarstypes-0.2.2.tar.gz.
File metadata
- Download URL: polarstypes-0.2.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
125191879ba8dadfaa1be0917bf020d71cfecf966d9cf80920c4ce738fd74e88
|
|
| MD5 |
ce7922d104cb2b93f7bfef718c177d40
|
|
| BLAKE2b-256 |
c94f105bc7f9c560b782f9d06f9ef7d946235c030cf9d71a41ada22a0e37c631
|
File details
Details for the file polarstypes-0.2.2-py3-none-any.whl.
File metadata
- Download URL: polarstypes-0.2.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c97be91e5429336d9044e20f625af531d9f49f3848e3a8adb9b8b5d2e95557da
|
|
| MD5 |
ee27a93856585fdf747482cd5963921e
|
|
| BLAKE2b-256 |
c21194da4df19eda1b33bfde51a1d40ef21a6f7fb96af17102485e98f5468138
|