Perfect Plots: Violinplot

31/10/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

25/10/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

23/10/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: Slope Chart

22/10/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

22/10/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 […]