Managing data from an Excel.csv file

This post was flagged by the community and is temporarily hidden.

Here is the excel file which I am working on:

Can you show your attempts to do this.

I am trying to replicate the way we did this in class but I am not getting the proper results.

I am doing the following:

What code did you come up with so far?

Hi, welcome!

Please have a look to our homework policy, homework inspired questions are welcome but they should not include verbatim instructions from your course.