We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 7
DATA
VISUALISATION
IN PYTHON ——
CHEATSHEET
Why Is Data Visualisation an Important Concept ?
WHAT IS REQUIRED TO MAKE
VISUALISATION IN PYTHON ?
MATPLOTLIB
Python based plobting library offers
mabploblib with a complete 2D supports
along with limited 3D graphic support.
1 is useful in producing publication quality
figures in interactive environment across
plabforms.
SEABORN
Being based on matplotiib, seaborn
offers various features such as built in
themes, color palettes, functions and
tools to visualize univariate, bivariate,
linear regression, mabrices of daba,
statistical time series etc which lets
us to build complex visualizations.‘Gender ‘Seles BMI Income
Sample Data o af pe
118 Overweight
: Set Used For The 1B) Grae
H 5 117 Underweight
Show Below 2 tas Nema
133 Underweight
Import Data Set:
fig=plbfigure()
ax = fig.add_subplob(1J1)
ax.hist(df[Age'],bins = 7) # Here you can
play with number of bins Labels and Tit
plt.bitle(Age distribution’)
plt.xlabel(Age’)
plt.ylabel('#Employee') .
plt.show() eBox Plot
importmatplobtlib.pyplot as pit [
import pandas as pd 3 T
fig=plt-figure() |
|
ax = fig.add_subplot(1J1)
xboxplob(df[Age’])
plt.show()
import seaborn as sns
sns.violinplot(df[Age)], df['Gender'])
#Variable Plot ‘
Download Complete An Introduction to Statistics with Python With Applications in the Life Sciences 2nd 2nd Edition Thomas Haslwanter PDF for All Chapters
Full Download Machine Learning Design Patterns Solutions to Common Challenges in Data Preparation Model Building and MLOps Valliappa Lakshmanan PDF DOCX