Skip to main content

No project description provided

Project description

pypies: scatter pie plot in python

A collection of various tools for working with scatter pie. It is written in pure rust and provide python API through PyO3.

Pypies is built upon polars and plotters, It inherited the advantages of both, so it can be very fast for large dataset and can supports various types of back-ends potentially.

pypies is very much a work in progress, so suggestions for new tools, features and capabilities is very much welcome, as are contributions as PRs.

Current tools

  • scatterpie: Create scatterpie plots.

Installation

You can install it with pip:

pip install pypies

Gallery

Here is an example of scatter pie plot:

scatter pie

Usage

For users from pandas:

import pandas as pd
import polars as pl
import pypies

df = pd.read_csv("datasets/iris.csv")
df = pl.from_pandas(df)
pypies.scatterpie(df, "Sepal.Length", "Sepal.Width", ["Petal.Length","Petal.Width"])

For users from polars:

import polars as pl
import pypies

df = pl.read_csv("datasets/iris.csv")
pypies.scatterpie(df, "Sepal.Length", "Sepal.Width", ["Petal.Length","Petal.Width"])

The plot will be saved in the currently directory. To learn more, please read the help documentaion using help(pypies.scatterpie).

Limitations

  • The plot is not interactive and must be saved locally.

License

This project is licensed under the MIT license

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pypies-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (76.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

File details

Details for the file pypies-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pypies-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ba7cbe2a265a91cc25525d001e706a3939956a2a8ad46a4d6a8ae6e53e9ea17
MD5 579ba40099ad33ad52873827e637299e
BLAKE2b-256 95976b07c07cfa1b16ac9e4060d67cf131b1ab9d7172826ce805f0e7284cd7a3

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