AttributeError: module 'seaborn' has no attribute 'load_dataset'
18:23 08 Apr 2021

I'm just trying to run the Seaborn example from here: https://seaborn.pydata.org/installing.html,

import seaborn as sns

df = sns.load_dataset("penguins")
sns.pairplot(df, hue="species")

but I get the following error:

AttributeError: module 'seaborn' has no attribute 'load_dataset'

I have checked and I don't seem to have a file named seaborn.py.

python jupyter-notebook seaborn