Perfect Plots: Violinplot

October 31, 2019 admin 0

Feel free to read the code on GitHub In [1]: import pandas as pd import matplotlib.pyplot as plt import numpy as np import matplotlib.patches as […]

Dendrogram and clustering 3d

October 25, 2019 admin 0

In [1]: import scipy.cluster.hierarchy as shc import pandas as pd import matplotlib.pyplot as plt # Import Data df = pd.read_csv(‘c:/1/USArrests.csv’) USArrests Source of data: https://www.kaggle.com/deepakg/usarrests […]

Perfect plots: Dendrogram

October 23, 2019 admin 0

Feel free to read the code on GitHub Dendrograms is used to count number of clusters.Dendrogram works on the distance between point of dataframe. In [ ]: […]

Perfect Plots: Waffle plot

October 22, 2019 admin 0

Feel free to read the code on GitHub   https://www.machinelearningplus.com/plots/top-50-matplotlib-visualizations-the-master-plots-python/   pip install pywaffle In [1]: from pywaffle import Waffle import squarify import pandas as pd […]

Perfect Plots: Slope Chart

October 22, 2019 admin 0

Feel free to read the code on GitHub   In [1]: import pandas as pd import matplotlib.pyplot as plt import matplotlib.lines as mlines import numpy […]

Perfect Plot: Treemap

October 22, 2019 admin 0

Feel free to read the code on GitHub An old Chinese proverb says: one picture says more than one thousands words.   One good plot […]

Perfect Plots: Pie Plot

October 17, 2019 admin 0

Feel free to read the code on GitHub   An old Chinese proverb says: one picture says more than one thousands words. One good plot […]