Perfect Plots: Bubble Plot
In [1]: import pandas as pd import matplotlib.pyplot as plt import numpy as np Autos Source of data: https://datahub.io/machine-learning/autos In [2]: df2= pd.read_csv(‘c:/1/autos.csv’) df2.head() Out[2]: Unnamed: […]
In [1]: import pandas as pd import matplotlib.pyplot as plt import numpy as np Autos Source of data: https://datahub.io/machine-learning/autos In [2]: df2= pd.read_csv(‘c:/1/autos.csv’) df2.head() Out[2]: Unnamed: […]
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 numpy as np import pandas as pd import seaborn as sns from sklearn.preprocessing import LabelEncoder import matplotlib.pylab as plt from pylab import […]
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: […]
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’) df […]
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 […]
Analysis of the categorical results. In [1]: import pandas as pd import matplotlib.pyplot as plt import seaborn as sns Titanic disaster Analysis of the categorical results. […]
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 […]
Today we learn how to make my own template for plots I have to confess something. I have a problem with plots, graphics, visualizations. I […]
Copyright © 2026 | WordPress Theme by MH Themes