Seaborn Seaborn: 1 2 Import Seaborn As Sns Import Pandas As PD
Seaborn Seaborn: 1 2 Import Seaborn As Sns Import Pandas As PD
Overview
In this module, we will discuss about different forms of data visualizations and how
we can visualize our data using Python.
seaborn offers a simple and easy to understand set of functions to draw different
graphs and charts that we might need.
Since the wide adoption of pandas and numpy , seaborn has support for both. But
we will be mainly using pandas when handling data.
Seaborn Basics
We can import Seaborn by calling import seaborn as sns and we will be calling library
as sns throughout the script.
1 import seaborn as sns
2 import pandas as pd
/usr/local/lib/python3.6/dist-packages/statsmodels/tools/_testing.py:19: FutureWa
import pandas.util.testing as tm
For visualizations, we need data. So, we will import a dataset called tips through seaborn.
Dataset has details on customers that visited a restaurent which include,
1 of 2 8/10/20, 9:01 AM
Introduction to Seaborn.ipynb - Colaboratory https://colab.research.google.com/drive/1sqCv8dgTLJ4z49SyQ...
2 of 2 8/10/20, 9:01 AM