查看内置数据集
# 查看数据集种类
import seaborn as sns
sns.get_dataset_names()
[‘anagrams’,
‘anscombe’,
‘attention’,
‘brain_networks’,
‘car_crashes’,
‘diamonds’,
‘dots’,
‘exercise’,
‘flights’,
‘fmri’,
‘gammas’,
‘geyser’,
‘iris’,
‘mpg’,
‘penguins’,
‘planets’,
‘taxis’,
‘tips’,
‘titanic’]
加载数据集
data = sns.load_dataset('penguins'