Skip to main content
πŸ”’ Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.Start 7-day trial β†’
⚑
← Coursesβ€ΊData Science AppliedModule 1 Β· Python for Data: pandas, numpyβ€ΊSelecting columns and rowsquiz3 / 104
+75 XP
Task
πŸ“ **Question:** You want rows where `region == 'EU'` and only columns `name` and `amount`. What's the idiomatic pandas one-liner? πŸ“‹ Pick the right answer. πŸ’‘ **Hint:** Re-read the theory above if unsure.
🎯 Quiz

Question

πŸ“ **Question:** You want rows where `region == 'EU'` and only columns `name` and `amount`. What's the idiomatic pandas one-liner? πŸ“‹ Pick the right answer. πŸ’‘ **Hint:** Re-read the theory above if unsure.