Skip to main content

A collection of helper for pandas n plots

Project description

pandas-plots

PyPI - Version GitHub last commit GitHub License py3.10

usage

install / update package

pip install pandas-plots -U

include in python

from pandas_plots import tbl, viz

example

# load sample dataset from seaborn
import seaborn as sb
df = sb.load_dataset('taxis')

viz.plot_box(df['fare'], height=400, violin=True)

plot_box

why use pandas-plots

pandas-plots is a package to help you examine and visualize data that are organized in a pandas DataFrame. It provides a high level api to pandas / plotly with some selected functions.

It is subdivided into:

  • tbl utilities for table descriptions

    • describe_df() an alternative version of pandas describe() function
    • pivot_df() gets a pivot table of a 3 column dataframe
  • viz utilities for plotly visualizations

    • plot_box() auto annotated boxplot w/ violin option
    • plot_boxes() multiple boxplots (annotation is experimental)
    • plots_bars() a standardized bar plot
    • plot_stacked_bars() shortcut to stacked bars 😄
    • plot_quadrants() quickly show a 2x2 heatmap
  • sql is added as convienience wrapper for fetching data from sql databases

    • connect_sql get data from ['mssql', 'sqlite','postgres']

dependencies

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

pandas-plots-0.3.2.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

pandas_plots-0.3.2-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file pandas-plots-0.3.2.tar.gz.

File metadata

  • Download URL: pandas-plots-0.3.2.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pandas-plots-0.3.2.tar.gz
Algorithm Hash digest
SHA256 4f47dab719f56029cc03d9d8f905c4e70838bdcf5817714a00e99edaa8d6bb3c
MD5 592a377326f02f22bfeccceda769a939
BLAKE2b-256 9e479db473b4aece23d26ec20065ee7901ac40c147ecd191ddb7fddea49cb41a

See more details on using hashes here.

File details

Details for the file pandas_plots-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: pandas_plots-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pandas_plots-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a85a30b2051d009860752b2e21e13fe896f6e18b9585e09044d1138e2c13779e
MD5 81f65ff310bbee84d9c7591f0e59b69e
BLAKE2b-256 465ee2541f0032a35615146de88561a481f2e7abc558da329fe230727bf6f826

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page