Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
107 views

Data Visualization in Python

Data Visualization in Python
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
107 views

Data Visualization in Python

Data Visualization in Python
Copyright
© © All Rights Reserved
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() e Box 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 ‘

You might also like