Prime members in one country
EasyAmazonboolean filtersquery· 10 XP
The UK marketing team is planning an email for Prime members in their country.
From customers.csv, store the customers in the United Kingdom who are Prime members, with columns customer_id, first_name and city.
Expected answer
Store it in result: a DataFrame with city, customer id and first name (name the columns however you like).
- Any row order
import pandas as pd
customers = pd.read_csv("customers.csv")
result = ...