0

Here's the problem I'm stuck on: Subset the data to include only Chicken Bowl orders and assign it to a new variable called chipo_chicken_df

Here is the dataset: https://raw.githubusercontent.com/ahsen1402/badm211/main/data/chipotle.csv

I've tried:

chipo_chicken_df = chipo_df['item_name': 'Chicken Bowl']

chipo_chicken_df = chipo_df['Chicken Bowl']

chipo_chicken_df = chipo_df[['Chicken Bowl']]

chipo_chicken_df = chipo_df[['item_name','Chicken Bowl']]

chipo_chicken_df = chipo_df[['item_name': 'Chicken Bowl']]

  • 1
    That's likely not a list, but a pandas DataFrame, which is an entirely different question. Please show how you load that .csv – Grismar Feb 01 '23 at 23:08

0 Answers0