Seaborn
Seaborn is a statistical library built on top of the Matplotlib library, and all the Matplotlib knowledge that we have learned can be applied to Seaborn.
We will start with a simple importing library. One of the useful features of Seaborn is its built-in datasets. In our case, we are going to use the tips
dataset:
import seaborn as sns tips = sns.load_dataset('tips') tips.head()
You can also check out some other details (such as the number of columns and rows, and data types) by using the .info()
function, as shown here:
    total_bill   tip    sex    smoker  day    time    size 0   16.99       1.01    Female   No    Sun   Dinner    2 1   10.34      ...