Subset#

Question Text#

This question uses the first 10 rows of a modified version of the pokemon dataset (df):

Groupby
df[0:10].groupby("{{ params_vars_groupby }}").count()[["{{ params_vars_column }}"]]

To get both marks, you must describe what it does AND why it might be useful. Note, you do not need to give us the output of the command, just what it does and why it’s useful.

Note: If you use sources on the internet, please make sure you add a link (in the box below) to the source you used to avoid plagiarism.

Answer Section#

Try to limit your answer to 5-7 sentences.

Attribution#

Problem is licensed under the CC-BY-NC-SA 4.0 license.
The Creative Commons 4.0 license requiring attribution-BY, non-commercial-NC, and share-alike-SA license.