Data and helper functions for a Python/Polars companion to Data Visualization
Project description
socviz_py
Data and helper functions for a Python/Polars companion to Data Visualization.
The PyPI distribution is socviz_py. The Polars-oriented import package is socviz_pl:
import socviz_pl as sv
gapminder = sv.load_data("gss_sm")
sv.available_data()
For now, load_data() returns Polars DataFrames from bundled Parquet files. A pandas-oriented API can be added later without changing the packaged data layout.
Data preparation
The packaged Parquet files live under src/socviz_data/_data.
The scripts used to regenerate them live in data-raw/, following the common R-package convention for source data preparation code.
Rscript data-raw/convert_socviz_rda_to_parquet.R
uv run python data-raw/build_counties.py
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 socviz_py-0.0.1.tar.gz.
File metadata
- Download URL: socviz_py-0.0.1.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4790d5800ccbb904a595217c6abe3548fc6512afdaebb3be0043f2522eff6e5f
|
|
| MD5 |
70c624c82bbbf99210ad802de0665836
|
|
| BLAKE2b-256 |
6b0fcc71f3c3714a3a1fcaf88b09d596cb9d9477b314dfb3dec850fda1da8685
|
File details
Details for the file socviz_py-0.0.1-py3-none-any.whl.
File metadata
- Download URL: socviz_py-0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
401bf4296b7d59811577c24dc29b5273d2411482f016052178a45ac5b4d410af
|
|
| MD5 |
876e1e25b7679c150c0f9d8ae7194358
|
|
| BLAKE2b-256 |
1ae77df959a852c1922837f88018da28e5c207f3813375c81c6e47d8577a6946
|