From 63d11bbae8e4dc3228b7bde77a3330aa597bbd88 Mon Sep 17 00:00:00 2001 From: ajoubrel-ensae Date: Sun, 11 Feb 2024 17:04:36 +0000 Subject: [PATCH] Nettoyage --- 0_Cleaning_and_merge.ipynb | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/0_Cleaning_and_merge.ipynb b/0_Cleaning_and_merge.ipynb index 8d925b0..aaaa80a 100644 --- a/0_Cleaning_and_merge.ipynb +++ b/0_Cleaning_and_merge.ipynb @@ -1700,39 +1700,6 @@ "## KPI tickets" ] }, - { - "cell_type": "code", - "execution_count": 30, - "id": "b913a69e-3146-4919-b5f6-a6108532bffa", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "array(['spectacle vivant', 'offre muséale individuel', 'formule adhésion',\n", - " 'offre muséale groupe'], dtype=object)" - ] - }, - "execution_count": 30, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "df1_products_purchased_reduced['name_event_types'].unique()" - ] - }, - { - "cell_type": "code", - "execution_count": 31, - "id": "2bda0b97-b28b-4070-a57d-aeab0e2f7dfe", - "metadata": {}, - "outputs": [], - "source": [ - "# Nombre de client assistant à plus de 2 type d'événement\n", - "nb_event_types = df1_products_purchased_reduced[['customer_id', 'name_event_types']].groupby('customer_id').nunique()" - ] - }, { "cell_type": "code", "execution_count": 34,