“Pandas Seaorn Distplot” Kod odpowiedzi

Wykręć histogram w Seorbor

sns.distplot(gapminder['lifeExp'], kde=False, color='red', bins=100)
plt.title('Life Expectancy', fontsize=18)
plt.xlabel('Life Exp (years)', fontsize=16)
plt.ylabel('Frequency', fontsize=16)
Witty Wryneck

Pandas Seaorn Distplot

import seaborn as sns, numpy as np
sns.set_theme(); np.random.seed(0)
x = np.random.randn(100)
ax = sns.distplot(x)
Helpless Heron

Odpowiedzi podobne do “Pandas Seaorn Distplot”

Pytania podobne do “Pandas Seaorn Distplot”

Więcej pokrewnych odpowiedzi na “Pandas Seaorn Distplot” w Python

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu