I have this data and i want to cross-tabulate between the GDP level (above average vs. below average) vs. Level of alcohol consumption (above average vs. below average). and find the correlation.
data
I'm trying this but is not what i want.
pd.crosstab(df['GDP'],df['Recorded_Consupmtion'], margins=True)