```{python}
#| label: penguins
!pip install palmerpenguins
!pip install plotnine
!pip install pandas
import pandas as pd
from palmerpenguins import load_penguins
penguins = load_penguins()
penguins["species"].unique()
```
Requirement already satisfied: palmerpenguins in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (0.1.4)
Requirement already satisfied: pandas in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from palmerpenguins) (2.2.2)
Requirement already satisfied: numpy in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from palmerpenguins) (1.26.4)
Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from pandas->palmerpenguins) (2.9.0)
Requirement already satisfied: pytz>=2020.1 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from pandas->palmerpenguins) (2024.2)
Requirement already satisfied: tzdata>=2022.7 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from pandas->palmerpenguins) (2024.1)
Requirement already satisfied: six>=1.5 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from python-dateutil>=2.8.2->pandas->palmerpenguins) (1.16.0)
[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Collecting plotnine
Using cached plotnine-0.14.0-py3-none-any.whl.metadata (9.3 kB)
Requirement already satisfied: matplotlib>=3.8.0 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from plotnine) (3.9.2)
Requirement already satisfied: pandas>=2.2.0 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from plotnine) (2.2.2)
Collecting mizani~=0.13.0 (from plotnine)
Using cached mizani-0.13.0-py3-none-any.whl.metadata (4.7 kB)
Requirement already satisfied: numpy>=1.23.5 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from plotnine) (1.26.4)
Requirement already satisfied: scipy>=1.8.0 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from plotnine) (1.14.1)
Requirement already satisfied: statsmodels>=0.14.0 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from plotnine) (0.14.4)
Requirement already satisfied: contourpy>=1.0.1 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from matplotlib>=3.8.0->plotnine) (1.3.0)
Requirement already satisfied: cycler>=0.10 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from matplotlib>=3.8.0->plotnine) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from matplotlib>=3.8.0->plotnine) (4.54.1)
Requirement already satisfied: kiwisolver>=1.3.1 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from matplotlib>=3.8.0->plotnine) (1.4.7)
Requirement already satisfied: packaging>=20.0 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from matplotlib>=3.8.0->plotnine) (24.1)
Requirement already satisfied: pillow>=8 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from matplotlib>=3.8.0->plotnine) (10.4.0)
Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from matplotlib>=3.8.0->plotnine) (3.1.4)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from matplotlib>=3.8.0->plotnine) (2.9.0)
Requirement already satisfied: pytz>=2020.1 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from pandas>=2.2.0->plotnine) (2024.2)
Requirement already satisfied: tzdata>=2022.7 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from pandas>=2.2.0->plotnine) (2024.1)
Requirement already satisfied: patsy>=0.5.6 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from statsmodels>=0.14.0->plotnine) (0.5.6)
Requirement already satisfied: six in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from patsy>=0.5.6->statsmodels>=0.14.0->plotnine) (1.16.0)
Using cached plotnine-0.14.0-py3-none-any.whl (1.3 MB)
Using cached mizani-0.13.0-py3-none-any.whl (127 kB)
Installing collected packages: mizani, plotnine
Successfully installed mizani-0.13.0 plotnine-0.14.0
[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Requirement already satisfied: pandas in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (2.2.2)
Requirement already satisfied: numpy>=1.22.4 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from pandas) (1.26.4)
Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from pandas) (2.9.0)
Requirement already satisfied: pytz>=2020.1 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from pandas) (2024.2)
Requirement already satisfied: tzdata>=2022.7 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from pandas) (2024.1)
Requirement already satisfied: six>=1.5 in /usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages (from python-dateutil>=2.8.2->pandas) (1.16.0)
[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
array(['Adelie', 'Gentoo', 'Chinstrap'], dtype=object)