Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update markdown instructions for Penguin classification exercise (1) #66

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions exercises/01_penguin_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,23 @@
"### Task 1: look at the data\n",
"In the following code block, we import the ``load_penguins`` function from the ``palmerpenguins`` package.\n",
"\n",
"- Call this function, which returns a single object, and assign it to the variable ``data``.\n",
" - Print ``data`` and recognise that ``load_penguins`` has returned a ``pandas.DataFrame``.\n",
"- Consider which features it might make sense to use in order to classify the species of the penguins.\n",
" - You can print the column titles using ``pd.DataFrame.keys()``\n",
" - You can also obtain useful information using ``pd.DataFrame.Series.describe()``"
"- Call this function, which returns a single object in the form of a ``pandas.DataFrame``, and assign it to the variable ``data``.\n",
" - Print ``data`` and recognise that ``load_penguins`` has returned the dataframe.\n",
"- Analyse which features it might make sense to use in order to classify the species of the penguins.\n",
" - You can print the column names using ``pd.DataFrame.keys()``\n",
" - You can also obtain useful statical information on the dataset using ``pd.DataFrame.Series.describe()``"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

statistical

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think 'Consider' is probably fine here, but either is fine.

]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"from palmerpenguins import load_penguins"
"from palmerpenguins import load_penguins\n",
"\n",
"# Load the penguin data\n",
"penguins = load_penguins()\n"
]
},
{
Expand Down Expand Up @@ -402,7 +405,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": ".venv",
"language": "python",
"name": "python3"
},
Expand All @@ -416,7 +419,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.12.4"
}
},
"nbformat": 4,
Expand Down
Loading