I have a data set with the growth in student enrollments by college from one year to the next broken down by age bands (18-19, 20-24, etc.). I have another data set with the growth in student enrollments for the same colleges from one year to the next broken down by gender (M, F, O). Unfortunately, we don't have access to the raw data so I don't know the relationship between these (e.g. how many males 18-19, females 20-24, etc.).
Is there a way to do a correlation analysis on these separate datasets against each other to imply some relationships? E.g. I'm trying to see if I can reach any conclusions like "the growth in the 20-24 age band was more strongly correlated to the growth in female vs. male students"?
I have the two datasets loaded in dataframes and have already prepared some basis plots showing trend etc. I did manage to brute-force an age by gender view in excel but wanted to hear others' ideas on the above before I attempt to replicate it in python...