import pandas as pd
import seaborn as snsAE 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 herewith the code for “info”ing at the datapenguinsdata frame –penguins.info(). Render the document and view the output.
penguins = sns.load_dataset("data/penguins")
# add code here- Demo: First, replace the blank below with the number of rows in the
penguinsdata frame based on the output of the chunk below. Then, replace it with “inline code” and render again.
num_rows = len(penguins)
num_rows344
There are ___ penguins in the penguins data frame.
x = 2
x * 36