I have a dataset with data of a set of bands who play in the same two-city festival. I aim to create a pandas dataframe of two colums, Band and total attendance. but I am unable to use the df.groupby argument as the same bands are mentioned in two different columns. Any tips? Below is an example of how the dataset looks.
F.ex
Time Band_in_London Band_in_Reading Attendance_London Attendance_Reading
12 Kasabian Queen 3000 4000
13 Foo Fighters Beatles 1000 5000
14 U2 A-ha 2500 2500
15 Queen Kasabian 2200 1000
16 Beatles Foo Fighters 1300 4700
17 A-Ha U2 4000 3100
18