generated from byui-cse/byuids-portfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cleansing.qmd
40 lines (30 loc) · 806 Bytes
/
cleansing.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
title: "about me"
subtitle: "my data science portfolio"
# use quarto markdown to
---
# Title 1 Header
## Title 2 Header
[MarkDown Basics](https://quarto.org/docs/authoring/markdown-basics.html#links-images)
# %% [markdown]
# ---
# title: Palmer Penguins
# author: Norah Jones
# date: 3/12/23
# ---
# %%
#| echo: false
import pandas as pd
df = pd.read_csv("palmer-penguins.csv")
# %% [markdown]
"""
## Exploring the data
See @fig-bill-sizes for an exploration of bill sizes by species.
"""
# %%
#| label: fig-bill-sizes
#| fig-cap: Bill Sizes by Species
import matplotlib.pyplot as plt
import seaborn as sns
g = sns.FacetGrid(df, hue="species", height=3, aspect=3.5/1.5)
g.map(plt.scatter, "bill_length_mm", "bill_depth_mm").add_legend()