A collection of helper for table handling and vizualization
Project description
pandas-plots
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)
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 descriptionsdescribe_df()
an alternative version of pandasdescribe()
functionpivot_df()
gets a pivot table of a 3 column dataframe
-
viz
utilities for plotly visualizationsplot_box()
auto annotated boxplot w/ violin optionplot_boxes()
multiple boxplots (annotation is experimental)plots_bars()
a standardized bar plotplot_stacked_bars()
shortcut to stacked bars 😄plot_quadrants()
quickly show a 2x2 heatmap
-
sql
is added as convienience wrapper for fetching data from sql databasesconnect_sql
get data from['mssql', 'sqlite','postgres']
another example
# quick and exhaustive description of any table
tbl.describe_df(df, 'taxi', top_n_uniques=5)
# show pivoted values for selected columns
tbl.pivot_df(df[['color', 'payment', 'fare']])
dependencies
Project details
Release history Release notifications | RSS feed
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.7.1.tar.gz
(16.4 kB
view details)
Built Distribution
File details
Details for the file pandas-plots-0.7.1.tar.gz
.
File metadata
- Download URL: pandas-plots-0.7.1.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1a62c30b5ddb55e999cde7e4f7ab4bff3c2c561ecb1acfbaf4d0e04eecb6029 |
|
MD5 | 8e5f694667d63b16c4f991094797e091 |
|
BLAKE2b-256 | 632f0491339fcd767d4ea84bd2aef5919db399a0043ecd73541c5f3526f126cf |
File details
Details for the file pandas_plots-0.7.1-py3-none-any.whl
.
File metadata
- Download URL: pandas_plots-0.7.1-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eab5de027cf01d9bf5e242a46978e369922aad3c13a07746c1ad0140342f7a5 |
|
MD5 | 176bcc9ae1798dd838a63bbdfb689e1b |
|
BLAKE2b-256 | 02a8107f1c317dad06076b3d8c011c19475e71ef56274b0f1a4d9cc4ee8c6eab |