I have been trying to summarize a dataset so I can index on the \'Industry\' and then the \'Reference_Date\' with mean \'Average_Weekly_Earnings\' the indexing works fine but I