I am attempting to analyse high school attendance and behaviour data. I have a raw excel data sheet as shown in the image.Image may be NSFW.
Clik here to view.
I get lost with how to index it. Essentially the first three columns should be "Student Name, Class and Percent Attendance". Then all subsequent columns are a 2 level index, the first of which is "date" and the sub-index "period name".
How can I delete the appropriate rows and columns to achieve this and the index be correct. Many thanks
Graham
I don't really know what to try? Historically I have "hard-wired" what I want into a Python Array but I really want to become more proficient with dataframes and see this as a good project to have a go upon.