image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

data = pd.read_csv('../input/memory-test-on-drugged-islanders-data/Islander_data.csv')

cleaned_data = data.copy()

plt.figure(figsize=(16, 6))
sns.barplot(x='Drug', y='Mem_Score_Before', data=cleaned_data, order=cleaned_data.Drug.unique().tolist())
plt.title('Distribution of Drugs')