df = pd.read_csv('swarm.csv', header=[0, 1], tupleize_cols=True, index_col=None
    )
cols = ['sizes', 'distance_measure']
df.columns = pd.MultiIndex.from_tuples(df.columns, names=cols)
python 3 pandas and seaborn struggle using swarmplot - multiIndex