{ "cells": [ { "cell_type": "raw", "id": "e8aab138-d5f8-423f-b5c9-b3a099f4803b", "metadata": {}, "source": [ "---\n", "title: Palmer Penguins\n", "draft: true\n", "---" ] }, { "cell_type": "code", "execution_count": 1, "id": "d60062d2-fbc5-44b4-bbe2-a0a91b091b80", "metadata": { "tags": [] }, "outputs": [], "source": [ "import pandas as pd\n", "import altair as alt\n", "import seaborn as sns\n", "from matplotlib import pyplot as plt" ] }, { "cell_type": "markdown", "id": "9e6674be-36f4-43c1-acac-e2ed05f48885", "metadata": {}, "source": [ "Data from [Palmer Penguins R package](https://allisonhorst.github.io/palmerpenguins/)" ] }, { "cell_type": "code", "execution_count": 2, "id": "a5023e8f-9166-4a12-8b9d-0d23124b6065", "metadata": { "tags": [ "import" ] }, "outputs": [], "source": [ "penguins = pd.read_csv(\"https://pos.it/palmer-penguins-github-csv\")" ] }, { "cell_type": "code", "execution_count": 3, "id": "40856584-e066-4dc0-a7d7-1c0ca97e0d68", "metadata": { "tags": [] }, "outputs": [ { "data": { "text/html": [ "
\n", " | species | \n", "count | \n", "
---|---|---|
0 | \n", "Adelie | \n", "152 | \n", "
1 | \n", "Chinstrap | \n", "68 | \n", "
2 | \n", "Gentoo | \n", "124 | \n", "