stat
This commit is contained in:
parent
8f5abf52fd
commit
0052d4e78f
|
@ -4182,7 +4182,23 @@
|
||||||
"from scipy.stats import shapiro\n",
|
"from scipy.stats import shapiro\n",
|
||||||
"from numpy.random import randn\n",
|
"from numpy.random import randn\n",
|
||||||
"import scipy.stats as st\n",
|
"import scipy.stats as st\n",
|
||||||
"%matplotlib inline"
|
"%matplotlib inline\n",
|
||||||
|
"\n",
|
||||||
|
"#col_purchase=[\"nb_tickets\",\"nb_purchases\",\"total_amount\",\"nb_suppliers\",\"time_between_purchase\",\"nb_tickets_internet\"]"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"id": "c532f884-3f44-4ce7-8924-9b4542bc3c10",
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"#histogrames des variable quantitatives\n",
|
||||||
|
"col_purchase=[\"nb_tickets\",\"nb_purchases\",\"total_amount\",\"nb_suppliers\",\"time_between_purchase\",\"nb_tickets_internet\"]\n",
|
||||||
|
"for col in col_purchase:\n",
|
||||||
|
" plt.figure()\n",
|
||||||
|
" sns.histplot(products_purchased_reduced_spectacle[col], kde=True, color='red')"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user