import pandas as pd
import seaborn as sns
AE 01: Meet the penguins
Application exercise
For this application exercise, we’ll use the pandas and seaborn packages.
The dataset we will visualize is called penguins
. Let’s .info()
it.
- Your turn: Replace
#add code here
with the code for “info”ing at the datapenguins
data frame –penguins.info()
. Render the document and view the output.
= sns.load_dataset("data/penguins")
penguins # add code here
- Demo: First, replace the blank below with the number of rows in the
penguins
data frame based on the output of the chunk below. Then, replace it with “inline code” and render again.
= len(penguins)
num_rows num_rows
344
There are ___ penguins in the penguins
data frame.
= 2
x * 3 x
6