Why columns 5:14? 290-5

Mission: Boolean Indexing with NumPY, Lesson #5

Why are we using columns 5:14 in the answer when we are just examining the tip_amount column ? shouldn’t it just be column index 12?

1 Like

Please make sure to share the direct Mission Step link in your post so that it’s easier for others to help you out based on the context.

1 Like

Hello @gosaints,
This is answer of different question but specifically this topic would help you to understand each line of code.

And more if you see second instruction they ask to select columns from indexes 5 to 13

image

Hope it helps! Let us know if you still need help. :slight_smile:

1 Like

Hey! @gosaints look at the titles columns from index 5 to 13
image
image
They all are highly related to each other about the trip (pic-up location, drop-off location, distance, duration of trip, amount to pay) that are gonna help us to tell the story about these data onwards, Let’s see :slight_smile:
Hope, I’ve cleared your confusion.

1 Like