Skip to main content

A framework for compiling simple, mapreduce style pipelines over MEDS datasets.

Project description

MEDS Visualizations

Visualization tools for MEDS datasets.

[!WARNING] This is a work in progress. The API and functionality are very likely change as we develop the library.

Installation

pip install MEDS_visualizations

Usage

In a Jupyter notebook, you can load whatever combination of data extractor and plotter you want:

from MEDS_visualizations.extractors import CodeFrequency
from MEDS_visualizations.plotters import Bar
from MEDS_visualizations.visualization import Visualization

CF = CodeFrequency(as_proportions=True)
P = Bar(top_k=10, y_cols=["n_occurrences"])

V = Visualization(extractor=CF, plotter=P)
V.render(data_shards)

In the future, we anticipate

  • Registering extractors and plotters via pypi entry points.
  • Adding the capability to chain together arbitrary extractors and plotters to make a report in a visualization.
  • Adding the capability to apply arbitrary filters or transformations to all data shards used to power a visualization.

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

meds_visualizations-0.0.4.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

meds_visualizations-0.0.4-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file meds_visualizations-0.0.4.tar.gz.

File metadata

  • Download URL: meds_visualizations-0.0.4.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for meds_visualizations-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c7b7e9afef7dd51a486ddc7847cf9de52eab55cafca3d57a7dff04722d17a8e3
MD5 31f0596847a18c5742edfc83eb1543f5
BLAKE2b-256 cb593d79e1f2c33d0b6eebab6e0975ac2b0594d2773dd1838c7d7a29dc6aa4b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for meds_visualizations-0.0.4.tar.gz:

Publisher: python-build.yaml on mmcdermott/MEDS_visualizations

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meds_visualizations-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for meds_visualizations-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 602b19b445fff9c15facc7af4b0eda4d6c8eb805ada3702001e6e5aad0084814
MD5 6d376703b0c31cee7d63fbb467e13430
BLAKE2b-256 2113ad3bef07fe14ca627ba094a9200b1fa292507d0ddcee0832b1d2a6e0e44c

See more details on using hashes here.

Provenance

The following attestation bundles were made for meds_visualizations-0.0.4-py3-none-any.whl:

Publisher: python-build.yaml on mmcdermott/MEDS_visualizations

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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