Skip to content

Ex1 - Filterong and Sorting Data - Price is ill defined #62

Open
@simonkenny

Description

@simonkenny

Steps 4 and 5 assume that each price has a unique price.

However,
chipo[(chipo['item_name'] == 'Chicken Bowl') & (chipo['quantity'] == 1)].item_price.unique()
returns
array([10.98, 11.25, 8.75, 8.49, 8.19, 10.58, 8.5 ])

This is covered by the drop_duplicates, however is still misleading as they aren't duplicate with price.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions