### Perfect Plots: Violinplot

In [1]: import pandas as pd import matplotlib.pyplot as plt import numpy as np import matplotlib.patches as mpatches Titanic disaster Source of data: https://www.kaggle.com/shivamp629/traincsv In [2]: […]

In [1]: import pandas as pd import matplotlib.pyplot as plt import numpy as np import matplotlib.patches as mpatches Titanic disaster Source of data: https://www.kaggle.com/shivamp629/traincsv In [2]: […]

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 […]

In [1]: import matplotlib as mpl import calmap import pandas as pd import matplotlib.pyplot as plt yahoo In [2]: df = pd.read_csv(‘c:/1/yahoo.txt’, parse_dates=[‘date’]) df.set_index(‘date’, inplace=True) df.head(3) […]

In [1]: import pandas as pd from sklearn.cluster import KMeans import matplotlib.pyplot as plt Wholesale customers data The dataset refers to clients of a wholesale […]

Dendrograms is used to count number of clusters. Dendrogram works on the distance between point of dataframe. In [ ]: import scipy.cluster.hierarchy as shc import pandas as […]

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 import matplotlib.pyplot as plt Car market analysis Source of data: […]

An old Chinese proverb says: one picture says more than one thousands words. One good plot can rescue entire presentation. One poor picture can drown […]

In [1]: import numpy as np import pandas as pd import seaborn as sns from sklearn.preprocessing import LabelEncoder import matplotlib.pylab as plt from pylab import […]

In [1]: import pandas as pd import matplotlib.pyplot as plt import matplotlib.lines as mlines import numpy as np # Import Data df = pd.read_csv(‘c:/2/gdppercap.txt’) […]

In [1]: import joypy import pandas as pd import matplotlib.pyplot as plt Car market analysis Source of data: https://github.com/selva86/datasets/blob/master/mpg_ggplot2.csv GSuite Text and Background Palette: https://yagisanatode.com/2019/08/06/google-apps-script-hexadecimal-color-codes-for-google-docs-sheets-and-slides-standart-palette/ In [2]: […]

Copyright © 2019 | WordPress Theme by MH Themes