Friday 15 May 2020

What is Seaborn in data visualization? | python crash course_04

What is Seaborn in data visualization?

Hello everyone,  In the Previous blog we see first part of data visualization (Matplotlib) This blog is related to Seaborn. so Let's start:

Keys Feature

  1. Seaborns is a statistical plotting library
  2. It has beautiful default style
  3. It also is designed to work very well with Pandas dataframe object.

Installing and getting started:

To install the latest release of seaborn, you can use:
pip install seaborn
conda install seaborn
Alternatively, you can used pip to install the development version directly from github:
pip install git+
Another option would be to to clone the github repository and install from yours local copy:
pip install . Python 2.7 or 3.5+

Let's see examples of Bar plot:

Bar Plots

The barplots() shows the relation between a categorical variable and a continuous variable. The data is represented in rectangular bar where the length the bar represent the proportion of the data in that category.

Bar plots represents the estimate of central tendency. Let us use the ‘titanic’ dataset to learn bar plot.


import pandas as pd
import seaborn as sb
from matplotlib import pyplot as plt
df = sb.load_dataset('titanic')
sb.barplot(x = "sex", y = "survived", hue = "class", data = df)



(Note: for detailed please click here )

                                              BEST OF LUCK!!!!!


Post a Comment

Popular Posts


AI (28) Android (24) AngularJS (1) Assembly Language (2) aws (17) Azure (7) BI (10) book (4) Books (121) C (77) C# (12) C++ (82) Course (66) Coursera (184) Cybersecurity (24) data management (11) Data Science (99) Data Strucures (7) Deep Learning (11) Django (6) Downloads (3) edx (2) Engineering (14) Excel (13) Factorial (1) Finance (6) flutter (1) FPL (17) Google (19) Hadoop (3) HTML&CSS (46) IBM (25) IoT (1) IS (25) Java (92) Leet Code (4) Machine Learning (46) Meta (18) MICHIGAN (5) microsoft (4) Pandas (3) PHP (20) Projects (29) Python (791) Python Coding Challenge (268) Questions (2) R (70) React (6) Scripting (1) security (3) Selenium Webdriver (2) Software (17) SQL (41) UX Research (1) web application (8)


Person climbing a staircase. Learn Data Science from Scratch: online program with 21 courses