728x90
distributions
-
캐글 data_visualization/05-distributions<Kaggle-Course> 2023. 3. 17. 16:59
sns.histplot(iris_data['Petal Length (cm)']) sns.kdeplot(data=iris_data['Petal Length (cm)'], shade=True) # 2D KDE plot sns.jointplot(x=iris_data['Petal Length (cm)'], y=iris_data['Sepal Width (cm)'], kind="kde") # KDE plots for each species sns.kdeplot(data=iris_data, x='Petal Length (cm)', hue='Species', shade=True)