Skip to main content

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

socviz_py-0.0.5.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

socviz_py-0.0.5-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

Details for the file socviz_py-0.0.5.tar.gz.

File metadata

  • Download URL: socviz_py-0.0.5.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for socviz_py-0.0.5.tar.gz
Algorithm Hash digest
SHA256 56a9c0443ab6b55b600e8b0b98b11856194e76d996683be939d5e5b6432dceb2
MD5 92853ea3001c59d08b4bd127f3968ccc
BLAKE2b-256 18ceec383a62f57455443c1e12114420b8dfff08a83ec756a2246b671fa08807

See more details on using hashes here.

File details

Details for the file socviz_py-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: socviz_py-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for socviz_py-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ed1acdab20c3cc93d008fadd24b466da1ab33d5c8d93c78f7e7d9a724fc92184
MD5 eed1e2f355d3870d90a1cf0a396e0a67
BLAKE2b-256 6d4e63bcf7cb77ceb64ce82e4d9e71c97a3eab7c088a2866e55ae7fb6774e60a

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