Pywedge-Visualization

Introduction

Pywedge is a new technique for data visualization, data processing, and EDA

Pywedge is a pip installable Python package that intends to,

  1. Make multiple charts in a single line of code, to enable the user to quickly read through the charts and can make informed choices in pre-processing steps
  2. Quickly preprocess the data by taking the user’s preferred choice of pre-processing techniques & it returns the cleaned datasets to the user in the first step.
  3. Make a baseline model summary, which can return ten various baseline models, which can point the user to explore the best performing baseline model.

Pywedge intends to help the user by quickly making charts, preprocessing the data, and rightly point out the best performing baseline model for the given dataset so that the user can spend quality time tuning such a model algorithm.

Pywedge_Charts()

Makes 8 different types of interactive Charts with interactive axis selection widgets in a single line of code for the given dataset.

Different types of Charts viz,

  1. Scatter Plot
  2. Pie Chart
  3. Bar Plot
  4. Violin Plot
  5. Box Plot
  6. Distribution Plot
  7. Histogram
  8. Correlation Plot

Install pywedge

pip install pywedge

Importing the required libraries

import pandas as pd
import pywedge as pw

Loading the Dataset

We will use the breast cancer dataset for exploring pywedge

df = pd.read_csv(‘Downloads/breast_cancer.csv’)
df.head()

Visualization

mc = pw.Pywedge_Charts(df, c=None, y=”diagnosis” )
# For Visualization
chart = mc.make_charts()

In the output above we can clearly see visualize the interface which is created by pywedge. We can select different types of charts and use different variables to visualize the data.

Try this interesting and useful library on different datasets.

Thanks for reading!

If you want to get in touch with me, feel free to reach me on alam.jane61@gmail.com or my Linkedin Profile https://www.linkedin.com/in/jane-alam-90824396/. You can view my Github https://github.com/alamjane for different data science projects and packages tutorials.

--

--

--

I am Data Scientist working in Cognizant | Writing about Data Science, AI, ML, DL, Stats, Math

Love podcasts or audiobooks? Learn on the go with our new app.

Getting Better at Machine Learning

How data-driven innovation is fueling cities’ COVID response

Quantitative Data Exploration for Regression in Python (Ames Housing Dataset)

Importing Log files with ease

What is End to End Machine learning?

Reproducible Data Science Environment with virtualenv

Get Started With Bayesian Statistics

Keeping Up With Data #57

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jane Alam

Jane Alam

I am Data Scientist working in Cognizant | Writing about Data Science, AI, ML, DL, Stats, Math

More from Medium

Communi3

ASEAN’S MORAL FAILURE IN MYANMAR

InvArch weekly news 02/18/2022

Cryptovaults Newsletter