├── model.sav ├── churm analysis.pbix ├── LICENSE ├── first_telc.csv ├── Pages └── prediction.py ├── Customer Churn Knowledge.py └── Churn Analysis - Model Building.ipynb /model.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/Customer-Churn-Analysis-and-Classification/HEAD/model.sav -------------------------------------------------------------------------------- /churm analysis.pbix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohanmistry231/Customer-Churn-Analysis-and-Classification/HEAD/churm analysis.pbix -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2025 rohanmistry231 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /first_telc.csv: -------------------------------------------------------------------------------- 1 | ,gender,SeniorCitizen,Partner,Dependents,tenure,PhoneService,MultipleLines,InternetService,OnlineSecurity,OnlineBackup,DeviceProtection,TechSupport,StreamingTV,StreamingMovies,Contract,PaperlessBilling,PaymentMethod,MonthlyCharges,TotalCharges 2 | 0,Female,0,Yes,No,1,No,No phone service,DSL,No,Yes,No,No,No,No,Month-to-month,Yes,Electronic check,29.85,29.85 3 | 1,Male,0,No,No,34,Yes,No,DSL,Yes,No,Yes,No,No,No,One year,No,Mailed check,56.95,1889.5 4 | 3,Male,0,No,No,45,No,No phone service,DSL,Yes,No,Yes,Yes,No,No,One year,No,Bank transfer (automatic),42.3,1840.75 5 | 6,Male,0,No,Yes,22,Yes,Yes,Fiber optic,No,Yes,No,No,Yes,No,Month-to-month,Yes,Credit card (automatic),89.1,1949.4 6 | 11,Male,0,No,No,16,Yes,No,No,No internet service,No internet service,No internet service,No internet service,No internet service,No internet service,Two year,No,Credit card (automatic),18.95,326.8 7 | 5,Female,0,No,No,8,Yes,Yes,Fiber optic,No,No,Yes,No,Yes,Yes,Month-to-month,Yes,Electronic check,99.65,820.5 8 | 4,Female,0,No,No,2,Yes,No,Fiber optic,No,No,No,No,No,No,Month-to-month,Yes,Electronic check,70.7,151.65 9 | 2,Male,0,No,No,2,Yes,No,DSL,Yes,Yes,No,No,No,No,Month-to-month,Yes,Mailed check,53.85,108.15 10 | 7,Female,0,No,No,10,No,No phone service,DSL,Yes,No,No,No,No,No,Month-to-month,No,Mailed check,29.75,301.9 11 | 8,Female,0,Yes,No,28,Yes,Yes,Fiber optic,No,No,Yes,Yes,Yes,Yes,Month-to-month,Yes,Electronic check,104.8,3046.05 12 | 9,Male,0,No,Yes,62,Yes,No,DSL,Yes,Yes,No,No,No,No,One year,No,Bank transfer (automatic),56.15,3487.95 13 | 10,Male,0,Yes,Yes,13,Yes,No,DSL,Yes,No,No,No,No,No,Month-to-month,Yes,Mailed check,49.95,587.45 14 | 12,Male,0,Yes,No,58,Yes,Yes,Fiber optic,No,No,Yes,No,Yes,Yes,One year,No,Credit card (automatic),100.35,5681.1 15 | 13,Male,0,No,No,49,Yes,Yes,Fiber optic,No,Yes,Yes,No,Yes,Yes,Month-to-month,Yes,Bank transfer (automatic),103.7,5036.3 16 | 14,Male,0,No,No,25,Yes,No,Fiber optic,Yes,No,Yes,Yes,Yes,Yes,Month-to-month,Yes,Electronic check,105.5,2686.05 17 | 15,Female,0,Yes,Yes,69,Yes,Yes,Fiber optic,Yes,Yes,Yes,Yes,Yes,Yes,Two year,No,Credit card (automatic),113.25,7895.15 18 | 16,Female,0,No,No,52,Yes,No,No,No internet service,No internet service,No internet service,No internet service,No internet service,No internet service,One year,No,Mailed check,20.65,1022.95 19 | 17,Male,0,No,Yes,71,Yes,Yes,Fiber optic,Yes,No,Yes,No,Yes,Yes,Two year,No,Bank transfer (automatic),106.7,7382.25 20 | 19,Female,0,No,No,21,Yes,No,Fiber optic,No,Yes,Yes,No,No,Yes,Month-to-month,Yes,Electronic check,90.05,1862.9 21 | 21,Male,0,Yes,No,12,Yes,No,No,No internet service,No internet service,No internet service,No internet service,No internet service,No internet service,One year,No,Bank transfer (automatic),19.8,202.25 22 | 25,Female,0,No,No,30,Yes,No,DSL,Yes,Yes,No,No,No,No,Month-to-month,Yes,Bank transfer (automatic),55.3,1530.6 23 | 26,Male,0,Yes,Yes,47,Yes,Yes,Fiber optic,No,Yes,No,No,Yes,Yes,Month-to-month,Yes,Electronic check,99.35,4749.15 24 | 28,Male,0,Yes,No,72,Yes,Yes,DSL,Yes,Yes,Yes,Yes,Yes,Yes,Two year,Yes,Credit card (automatic),90.25,6369.45 25 | 29,Female,0,No,Yes,17,Yes,No,DSL,No,No,No,No,Yes,Yes,Month-to-month,Yes,Mailed check,64.7,1093.1 26 | 32,Female,0,Yes,Yes,27,Yes,No,DSL,Yes,Yes,Yes,Yes,No,No,One year,No,Mailed check,66.15,1874.45 27 | 36,Male,0,No,No,5,Yes,No,Fiber optic,No,No,No,No,No,No,Month-to-month,Yes,Electronic check,69.7,316.9 28 | 37,Female,0,No,No,46,Yes,No,Fiber optic,No,No,Yes,No,No,No,Month-to-month,Yes,Credit card (automatic),74.8,3548.3 29 | 39,Female,0,No,No,11,Yes,Yes,Fiber optic,No,No,Yes,No,Yes,Yes,Month-to-month,Yes,Bank transfer (automatic),97.85,1105.4 30 | 41,Female,0,Yes,Yes,70,Yes,Yes,DSL,Yes,Yes,No,No,Yes,No,Two year,Yes,Credit card (automatic),69.2,4872.35 31 | 43,Female,0,No,No,63,Yes,Yes,DSL,Yes,Yes,Yes,Yes,Yes,No,Two year,Yes,Credit card (automatic),79.85,4861.45 32 | 50,Female,1,No,No,43,Yes,Yes,Fiber optic,No,Yes,No,No,Yes,No,Month-to-month,Yes,Electronic check,90.25,3838.75 33 | 51,Female,0,No,No,15,Yes,No,Fiber optic,Yes,Yes,No,No,Yes,Yes,Month-to-month,Yes,Credit card (automatic),99.1,1426.4 34 | 54,Female,1,Yes,Yes,60,Yes,No,DSL,Yes,Yes,Yes,Yes,No,Yes,One year,Yes,Credit card (automatic),74.85,4456.35 35 | 55,Male,1,No,No,18,Yes,Yes,Fiber optic,No,No,No,No,Yes,Yes,Month-to-month,Yes,Electronic check,95.45,1752.55 36 | 57,Male,1,Yes,Yes,66,Yes,Yes,Fiber optic,No,Yes,Yes,Yes,Yes,Yes,One year,Yes,Electronic check,108.45,7076.35 37 | 64,Female,0,No,No,9,Yes,Yes,Fiber optic,No,No,No,No,Yes,Yes,Month-to-month,No,Electronic check,94.4,857.25 38 | 65,Female,0,No,No,3,Yes,No,DSL,No,Yes,No,Yes,Yes,Yes,Month-to-month,Yes,Electronic check,75.3,244.1 39 | 67,Female,0,No,No,31,Yes,No,DSL,No,Yes,Yes,Yes,Yes,Yes,Two year,No,Mailed check,79.2,2497.2 40 | 68,Female,0,Yes,Yes,50,Yes,No,No,No internet service,No internet service,No internet service,No internet service,No internet service,No internet service,Two year,No,Bank transfer (automatic),20.15,930.9 41 | 72,Male,1,Yes,Yes,64,Yes,Yes,Fiber optic,Yes,No,Yes,Yes,Yes,Yes,Two year,Yes,Bank transfer (automatic),111.6,7099 42 | 75,Female,1,No,No,56,Yes,Yes,Fiber optic,Yes,Yes,Yes,No,Yes,Yes,One year,No,Electronic check,110.5,6139.5 43 | 82,Female,0,Yes,No,7,Yes,No,Fiber optic,No,No,Yes,No,No,No,Month-to-month,Yes,Bank transfer (automatic),75.15,496.9 44 | 83,Female,0,No,No,42,Yes,No,Fiber optic,No,Yes,Yes,Yes,Yes,Yes,Month-to-month,Yes,Bank transfer (automatic),103.8,4327.5 45 | 86,Female,0,Yes,No,35,Yes,No,DSL,Yes,No,No,No,Yes,No,One year,Yes,Bank transfer (automatic),62.15,2215.45 46 | 87,Female,0,Yes,Yes,48,Yes,No,No,No internet service,No internet service,No internet service,No internet service,No internet service,No internet service,Two year,No,Bank transfer (automatic),20.65,1057 47 | 89,Male,0,Yes,No,29,No,No phone service,DSL,No,No,No,No,Yes,No,Month-to-month,No,Mailed check,33.75,1009.25 48 | 93,Female,0,No,No,65,Yes,Yes,Fiber optic,Yes,Yes,Yes,No,Yes,Yes,Month-to-month,Yes,Credit card (automatic),111.05,7107 49 | 102,Male,0,No,No,38,Yes,Yes,Fiber optic,No,No,Yes,Yes,Yes,No,One year,No,Bank transfer (automatic),95.0,3605.6 50 | 104,Male,0,Yes,No,68,Yes,Yes,Fiber optic,No,Yes,Yes,Yes,Yes,Yes,Two year,Yes,Bank transfer (automatic),110.0,7611.85 51 | 107,Female,0,No,No,32,No,No phone service,DSL,Yes,No,No,No,No,No,One year,No,Mailed check,30.15,927.65 52 | 110,Male,0,Yes,No,55,Yes,Yes,Fiber optic,Yes,Yes,No,No,Yes,No,Month-to-month,Yes,Electronic check,96.75,5238.9 53 | 113,Female,1,Yes,No,37,Yes,Yes,Fiber optic,No,No,No,No,No,No,Month-to-month,Yes,Electronic check,76.5,2868.15 54 | 116,Female,0,No,No,36,No,No phone service,DSL,Yes,No,No,No,No,No,Two year,No,Bank transfer (automatic),31.05,1126.35 55 | 118,Female,0,No,No,41,Yes,No,No,No internet service,No internet service,No internet service,No internet service,No internet service,No internet service,Two year,No,Mailed check,20.65,835.15 56 | 121,Female,0,No,No,6,Yes,No,No,No internet service,No internet service,No internet service,No internet service,No internet service,No internet service,Month-to-month,No,Mailed check,20.7,112.75 57 | 124,Female,0,Yes,Yes,4,Yes,No,No,No internet service,No internet service,No internet service,No internet service,No internet service,No internet service,Month-to-month,No,Mailed check,20.85,62.9 58 | 125,Male,0,No,No,33,Yes,No,Fiber optic,Yes,No,No,Yes,Yes,No,Two year,Yes,Electronic check,88.95,3027.65 59 | 132,Male,0,No,No,67,Yes,No,DSL,No,No,No,Yes,No,No,Two year,No,Bank transfer (automatic),50.55,3260.1 60 | 136,Female,0,No,No,23,Yes,No,Fiber optic,Yes,No,No,No,No,No,Month-to-month,Yes,Bank transfer (automatic),75.0,1778.5 61 | 138,Male,0,No,Yes,57,Yes,No,No,No internet service,No internet service,No internet service,No internet service,No internet service,No internet service,Two year,Yes,Mailed check,19.6,1170.55 62 | 142,Female,0,Yes,No,61,Yes,Yes,Fiber optic,No,Yes,No,No,Yes,Yes,Two year,Yes,Bank transfer (automatic),101.05,5971.25 63 | 155,Female,0,Yes,Yes,14,Yes,No,Fiber optic,No,No,No,No,No,Yes,Month-to-month,Yes,Bank transfer (automatic),80.9,1152.8 64 | 161,Female,0,Yes,No,20,Yes,Yes,Fiber optic,Yes,No,No,No,No,No,Month-to-month,No,Electronic check,82.4,1592.35 65 | 163,Male,0,No,No,53,Yes,Yes,DSL,No,Yes,Yes,Yes,No,Yes,Two year,Yes,Bank transfer (automatic),73.9,3958.25 66 | 189,Female,0,Yes,No,40,Yes,Yes,DSL,No,Yes,No,No,No,No,Month-to-month,No,Credit card (automatic),56.6,2379.1 67 | 194,Male,0,Yes,Yes,59,Yes,No,No,No internet service,No internet service,No internet service,No internet service,No internet service,No internet service,Two year,No,Credit card (automatic),19.3,1192.7 68 | 196,Male,0,Yes,Yes,24,Yes,Yes,No,No internet service,No internet service,No internet service,No internet service,No internet service,No internet service,Two year,Yes,Bank transfer (automatic),24.1,587.4 69 | 204,Male,0,No,No,44,Yes,No,Fiber optic,No,No,No,No,No,No,Month-to-month,No,Credit card (automatic),68.85,2958.95 70 | 208,Female,0,No,No,19,Yes,No,Fiber optic,Yes,No,Yes,Yes,Yes,Yes,Month-to-month,Yes,Electronic check,106.6,1934.45 71 | 230,Male,0,No,No,54,Yes,Yes,Fiber optic,Yes,Yes,No,Yes,Yes,Yes,Two year,Yes,Credit card (automatic),108.0,5760.65 72 | 250,Female,0,Yes,No,51,Yes,No,Fiber optic,Yes,Yes,Yes,No,Yes,No,One year,Yes,Electronic check,93.5,4619.55 73 | 435,Female,0,No,No,26,No,No phone service,DSL,No,No,Yes,Yes,Yes,No,Month-to-month,Yes,Credit card (automatic),44.45,1183.8 74 | 488,Female,0,Yes,Yes,0,No,No phone service,DSL,Yes,No,Yes,Yes,Yes,No,Two year,Yes,Bank transfer (automatic),52.55, 75 | 546,Male,0,Yes,Yes,39,Yes,No,Fiber optic,No,Yes,No,No,Yes,No,Month-to-month,Yes,Mailed check,86.3,3266 76 | 20,Male,1,No,No,1,No,No phone service,DSL,No,No,Yes,No,No,Yes,Month-to-month,Yes,Electronic check,39.65,39.65 77 | -------------------------------------------------------------------------------- /Pages/prediction.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | import pickle 3 | import streamlit as st 4 | import pandas as pd 5 | from sklearn.model_selection import train_test_split 6 | 7 | churn_data = pd.read_csv( 8 | "C:\\Users\\Rohan S Mistry\\Downloads\\MLProject-ChurnPrediction-main\\MLProject-ChurnPrediction-main\\tel_churn.csv") 9 | x = churn_data.drop('Churn', axis=1) 10 | y = churn_data['Churn'] 11 | x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.2) 12 | 13 | loaded_model = pickle.load(open( 14 | 'C:\\Users\\Rohan S Mistry\\Downloads\\MLProject-ChurnPrediction-main\\MLProject-ChurnPrediction-main\\model.sav', 'rb')) 15 | 16 | 17 | def chrun_prediction(input_data): 18 | 19 | input_data_as_numpy_array = np.asarray(input_data) 20 | input_data_reshaped = input_data_as_numpy_array.reshape(1, -1) 21 | prediction = loaded_model.predict(input_data_reshaped) 22 | print(prediction) 23 | 24 | if (prediction[0] == 0): 25 | return 'The person will not churn' 26 | else: 27 | return 'The person will churn' 28 | 29 | 30 | def main(): 31 | 32 | st.title(":green[How to Use Prediction System]") 33 | st.subheader( 34 | "Just Enter all parameters in Prediction Page and click on :blue[Churn Analysis Prediction.]") 35 | 36 | st.subheader("Enter Your Data") 37 | 38 | SeniorCitizen = st.text_input( 39 | 'SeniorCitizen ( If a person is SeniorCitizen Enter = 1 | else Enter = 0 )') 40 | MonthlyCharges = st.text_input( 41 | 'MonthlyCharges ( Enter your Monthy Charges rate )') 42 | TotalCharges = st.text_input( 43 | 'TotalCharges ( Enter your Total Charges rate )') 44 | gender_Female = st.text_input( 45 | 'gender_Female ( If a person is Female Enter = 1 | else Enter = 0 )') 46 | gender_Male = st.text_input( 47 | 'gender_Male ( If a person is Male Enter = 1 | else Enter = 0 )') 48 | Partner_No = st.text_input( 49 | 'Partner_No ( If There is No Partner Enter = 1 | else Enter = 0 )') 50 | Partner_Yes = st.text_input( 51 | 'Partner_Yes ( If There is Any Partner Enter = 1 | else Enter = 0 )') 52 | Dependents_No = st.text_input( 53 | 'Dependents_No ( If There is No Dependents Enter = 1 | else Enter = 0 )') 54 | Dependents_Yes = st.text_input( 55 | 'Dependents_Yes ( If There is Any Dependents Enter = 1 | else Enter = 0 )') 56 | PhoneService_No = st.text_input( 57 | 'PhoneService_No ( If There is No Phone Service Enter = 1 | else Enter = 0 )') 58 | PhoneService_Yes = st.text_input( 59 | 'PhoneService_Yes ( If There is Any Phone Service Enter = 1 | else Enter = 0 )') 60 | MultipleLines_No = st.text_input( 61 | 'MultipleLines_No ( If There is No Multiple Lines Enter = 1 | else Enter = 0 )') 62 | MultipleLines_No_phone_service = st.text_input( 63 | 'MultipleLines_No phone service ( If There is No Phone Service Multiple Lines Enter = 1 | else Enter = 0 )') 64 | MultipleLines_Yes = st.text_input( 65 | 'MultipleLines_Yes ( If There is Any Multiple Lines Enter = 1 | else Enter = 0 )') 66 | InternetService_DSL = st.text_input( 67 | 'InternetService_DSL ( If Internet Service is DSL Enter = 1 | else Enter = 0 )') 68 | InternetService_Fiber_optic = st.text_input( 69 | 'InternetService_Fiber optic ( If Internet Service is Fiber Optic Enter = 1 | else Enter = 0 )') 70 | InternetService_No = st.text_input( 71 | 'InternetService_No ( If There is No Internet Service Enter = 1 | else Enter = 0 )') 72 | OnlineSecurity_No = st.text_input( 73 | 'OnlineSecurity_No ( If There is No Online Security Enter = 1 | else Enter = 0 )') 74 | OnlineSecurity_No_internet_service = st.text_input( 75 | 'OnlineSecurity_No internet service ( If There is No Internet Service Online Security Enter = 1 | else Enter = 0 )') 76 | OnlineSecurity_Yes = st.text_input( 77 | 'OnlineSecurity_Yes ( If There is Any Online Security Enter = 1 | else Enter = 0 )') 78 | OnlineBackup_No = st.text_input( 79 | 'OnlineBackup_No ( If There is No Online Backup Enter = 1 | else Enter = 0 )') 80 | OnlineBackup_No_internet_service = st.text_input( 81 | 'OnlineBackup_No internet service ( If There is No Internet Service Online Backup Enter = 1 | else Enter = 0 )') 82 | OnlineBackup_Yes = st.text_input( 83 | 'OnlineBackup_Yes ( If There is Any Online Backup Enter = 1 | else Enter = 0 )') 84 | DeviceProtection_No = st.text_input( 85 | 'DeviceProtection_No ( If there is No Device Protection Enter = 1 | else Enter = 0 )') 86 | DeviceProtection_No_internet_service = st.text_input( 87 | 'DeviceProtection_No internet service ( If There is No Internet Service Device Protection Enter = 1 | else Enter = 0 )') 88 | DeviceProtection_Yes = st.text_input( 89 | 'DeviceProtection_Yes ( If There is Any Device Protection Enter = 1 | else Enter = 0 )') 90 | TechSupport_No = st.text_input( 91 | 'TechSupport_No ( If There is No Tech Support Enter = 1 | else Enter = 0 )') 92 | TechSupport_No_internet_service = st.text_input( 93 | 'TechSupport_No internet service ( If There is No Internet Service Tech Support Enter = 1 | else Enter = 0 )') 94 | TechSupport_Yes = st.text_input( 95 | 'TechSupport_Yes ( If There is Any Tech Support Enter = 1 | else Enter = 0 )') 96 | StreamingTV_No = st.text_input( 97 | 'StreamingTV_No ( If There is No SteamingTV Enter = 1 | else Enter = 0 )') 98 | StreamingTV_No_internet_service = st.text_input( 99 | 'StreamingTV_No internet service ( If There is No Internet Service StreamingTV Enter = 1 | else Enter = 0 )') 100 | StreamingTV_Yes = st.text_input( 101 | 'StreamingTV_Yes ( If There is Any StreamingTV Enter = 1 | else Enter = 0 )') 102 | StreamingMovies_No = st.text_input( 103 | 'StreamingMovies_No ( If There is No Streaming Movies Enter = 1 | else Enter = 0 )') 104 | StreamingMovies_No_internet_service = st.text_input( 105 | 'StreamingMovies_No internet service ( If There is No Internet Service Streaming Movies Enter = 1 | else Enter = 0 )') 106 | StreamingMovies_Yes = st.text_input( 107 | 'StreamingMovies_Yes ( If There is Any Streaming Movies Enter = 1 | else Enter = 0 )') 108 | Contract_Month_to_month = st.text_input( 109 | 'Contract_Month-to-month ( If There is Any Month-To_Month Contract Enter = 1 | else Enter = 0 )') 110 | Contract_One_year = st.text_input( 111 | 'Contract_One year ( If There is Any One Year Contract Enter = 1 | else Enter = 0 )') 112 | Contract_Two_year = st.text_input( 113 | 'Contract_Two year ( If There is Any Two Year Contract Enter = 1 | else Enter = 0 )') 114 | PaperlessBilling_No = st.text_input( 115 | 'PaperlessBilling_No ( If There is No Paperless Billing Enter = 1 | else Enter = 0 )') 116 | PaperlessBilling_Yes = st.text_input( 117 | 'PaperlessBilling_Yes ( If There is Any Paperless Billing Enter = 1 | else Enter = 0 )') 118 | PaymentMethod_Bank_transfer_automatic = st.text_input( 119 | 'PaymentMethod_Bank transfer (automatic) ( If a Person Use Any Automatic Bank_Transfer Payment Method Enter = 1 | else Enter = 0 )') 120 | PaymentMethod_Credit_card_automatic = st.text_input( 121 | 'PaymentMethod_Credit card (automatic) ( If a Person Use Any Automatic Credit_Card Payment Method Enter = 1 | else Enter = 0 )') 122 | PaymentMethod_Electronic_check = st.text_input( 123 | 'PaymentMethod_Electronic check ( If a Person Use Any Automatic Electronic_Check Payment Method Enter = 1 | else Enter = 0 )') 124 | PaymentMethod_Mailed_check = st.text_input( 125 | 'PaymentMethod_Mailed check ( If a Person Use Any Automatic Mailed_Check Payment Method Enter = 1 | else Enter = 0 )') 126 | tenure_group_1_12 = st.text_input( 127 | 'tenure_group_1 - 12 ( If a Person"s Tenure is Between 1 to 12 Enter = 1 | else Enter = 0 )') 128 | tenure_group_13_24 = st.text_input( 129 | 'tenure_group_13 - 24 ( If a Person"s Tenure is Between 13 to 24 Enter = 1 | else Enter = 0 )') 130 | tenure_group_25_36 = st.text_input( 131 | 'tenure_group_25 - 36 ( If a Person"s Tenure is Between 25 to 36 Enter = 1 | else Enter = 0 )') 132 | tenure_group_37_48 = st.text_input( 133 | 'tenure_group_37 - 48 ( If a Person"s Tenure is Between 37 to 48 Enter = 1 | else Enter = 0 )') 134 | tenure_group_49_60 = st.text_input( 135 | 'tenure_group_49 - 60 ( If a Person"s Tenure is Between 49 to 60 Enter = 1 | else Enter = 0 )') 136 | tenure_group_61_72 = st.text_input( 137 | 'tenure_group_61 - 72 ( If a Person"s Tenure is Between 61 to 72 Enter = 1 | else Enter = 0 )') 138 | 139 | predict = '' 140 | 141 | if st.button('Churn Analysis Prediction'): 142 | predict = chrun_prediction([SeniorCitizen, MonthlyCharges, TotalCharges, gender_Female, gender_Male, Partner_No, Partner_Yes, Dependents_No, Dependents_Yes, PhoneService_No, PhoneService_Yes, MultipleLines_No, MultipleLines_No_phone_service, MultipleLines_Yes, InternetService_DSL, InternetService_Fiber_optic, InternetService_No, OnlineSecurity_No, OnlineSecurity_No_internet_service, OnlineSecurity_Yes, OnlineBackup_No, OnlineBackup_No_internet_service, OnlineBackup_Yes, DeviceProtection_No, DeviceProtection_No_internet_service, DeviceProtection_Yes, TechSupport_No, 143 | TechSupport_No_internet_service, TechSupport_Yes, StreamingTV_No, StreamingTV_No_internet_service, StreamingTV_Yes, StreamingMovies_No, StreamingMovies_No_internet_service, StreamingMovies_Yes, Contract_Month_to_month, Contract_One_year, Contract_Two_year, PaperlessBilling_No, PaperlessBilling_Yes, PaymentMethod_Bank_transfer_automatic, PaymentMethod_Credit_card_automatic, PaymentMethod_Electronic_check, PaymentMethod_Mailed_check, tenure_group_1_12, tenure_group_13_24, tenure_group_25_36, tenure_group_37_48, tenure_group_49_60, tenure_group_61_72]) 144 | 145 | st.success(predict) 146 | 147 | 148 | if __name__ == '__main__': 149 | main() 150 | -------------------------------------------------------------------------------- /Customer Churn Knowledge.py: -------------------------------------------------------------------------------- 1 | import streamlit as st 2 | 3 | st.sidebar.success("Select above page.") 4 | 5 | st.title(":green[FAQs about Customer Churn]") 6 | st.subheader(":blue[1. What is Customer Churn ?]") 7 | st.write("Customer churn is the percentage of customers that stopped using your company's product or service during a certain time frame. You can calculate churn rate by dividing the number of customers you lost during that time period -- say a quarter -- by the number of customers you had at the beginning of that time period.") 8 | st.write("For example, if you start your quarter with 400 customers and end with 380, your churn rate is 5% because you lost 5% of your customers.") 9 | st.write("Obviously, your company should aim for a churn rate that is as close to 0% as possible. In order to do this, your company has to be on top of its churn rate at all times and treat it as a top priority.") 10 | st.write("In this example, I calculated the churn rate as the percentage of customers lost that quarter. However, you can calculate churn rate in whatever way is best for your company. Some examples are:") 11 | st.write("1. The number of customers lost") 12 | st.write("2. The value of recurring business lost") 13 | st.write("3. The percentage of recurring value lost") 14 | st.subheader(":blue[2. Why Is Customer Churn Rate Is Important ?]") 15 | st.write("You may be wondering why it's necessary to calculate churn rate. Naturally, you're going to lose some customers here and there, and 5% doesn't sound too bad, right?") 16 | st.write("Well, it's important because it costs more to acquire new customers than it does to retain existing customers. In fact, an increase in customer retention of just 5% can create at least a 25% increase in profit. This is because returning customers will likely spend 67% more on your company's products and services. As a result, your company can spend less on the operating costs of having to acquire new customers. You don't need to spend time and money on convincing an existing customer to select your company over competitors because they've already made that decision.") 17 | st.write("Again, it might seem like a 5% churn rate is solid and healthy. You can still make a vast revenue with that churn rate. However, consider the example below when thinking about the impact of your churn rate.") 18 | st.write("In this example, simply decreasing your churn rate by 10% could add an extra $100,000 in revenue to your company. Dropping from 3% to 2.7% doesn't seem like a lot, but it actually adds large benefits to your company.") 19 | st.subheader(":blue[3. How to Reduce Customer Churn ?]") 20 | st.subheader("1. Focus your attention on your best customers.") 21 | st.write("Rather than simply focusing on offering incentives to customers who are considering churning, it could be even more beneficial to pool your resources into your loyal, profitable customers.") 22 | st.subheader("2. Analyze churn as it occurs.") 23 | st.write("Use your churned customers as a means of understanding why customers are leaving. Analyze how and when churn occurs in a customer's lifetime with your company, and use that data to put into place preemptive measures.") 24 | st.subheader("3. Show your customers that you care.") 25 | st.write("Rather than simply focusing on offering incentives to customers who are considering churning, it could be even more beneficial to pool your resources into your loyal, profitable customers.") 26 | st.subheader(":blue[4. What is Customer Churn Rate ?]") 27 | st.write("Customer churn rate is the percentage of your customers or subscribers who cancel or don't renew their subscriptions during a given time period, such as a month or a year.") 28 | st.write("Churn rate is a critically important metric for companies whose customers pay on a recurring basis — like SaaS or other subscription-based companies. Regardless of your monthly revenue, if your typical customer doesn't stick around long enough for you to recoup your average customer acquisition cost (CAC), you're in trouble.") 29 | st.write("Using a CRM can help you determine your customer churn rate. The software you sell may also have a built-in subscriber count that shows you how many users you had at the beginning of a time period and how many users you had at the end.") 30 | st.subheader(":blue[5. Churn Rate Formula.]") 31 | st.write("The churn rate formula is: (Lost Customers ÷ Total Customers at the Start of Time Period) x 100. For example, if your business had 250 customers at the beginning of the month and lost 10 customers by the end, you would divide 10 by 250. The answer is 0.04. You then multiply 0.04 by 100, resulting in a 4% monthly churn rate.") 32 | st.subheader(":blue[6. How to Calculate Churn Rate ?]") 33 | st.write("To calculate churn rate, you need to have the number of customers you had at the beginning of a given time period, such as monthly or annually, and the number of customers you lost during that time period. Divide the number of lost customers by the total number of customers you had at the start of the time period. Then, multiply this number by 100 to get your churn rate as a percentage.") 34 | st.write("Remember, the steps to calculate churn rate are:") 35 | st.write("1. Determine a time period: monthly, annual, or quarterly.") 36 | st.write("2. Determine the number of customers you had at the beginning of the time period.") 37 | st.write("3. Determine the number of customers that churned by the end of the time period.") 38 | st.write("4. Divide the number of lost customers by the number of customers you had prior to the churn.") 39 | st.write("5. Multiply that number by 100.") 40 | st.write("As an example, let's say your software company had 500 customers at the beginning of last quarter.") 41 | st.write("However, you also lost 50 customers due to expired contracts and a few poor customer service interactions.") 42 | st.write("This would mean your quarter's customer churn rate would be the 50 churned customers divided by the 500 former customers, and 50 divided by 500 is 0.10.") 43 | st.write("Multiplied by 100, this gives you a customer churn rate of 10%.") 44 | st.write("Here's how it looks when you do the math out:") 45 | st.write("Customer Churn Rate = (Lost Customers ÷ Total Customers at the Start of Time Period) x 100") 46 | st.write("Customer Churn Rate = (50 ÷ 500) x 100") 47 | st.write("Customer Churn Rate = (0.10) x 100") 48 | st.write("Customer Churn Rate = 10%") 49 | st.write("Now that you've found out what your churn rate is, you're probably wondering what you should do next — especially if your churn rate is high. Take a look at the next section for some best practices that can help you decrease churn at your business.") 50 | st.subheader(":blue[7. Steps to Take After Calculating Churn Rate.]") 51 | st.write("Is your churn rate high? There are several strategies you could implement to decrease it. If you don't actively work to lower the churn rate, your company could suffer in the long-term.") 52 | st.subheader("1. Analyze churn to improve your customer service team.") 53 | st.write("Despite your best efforts, customer churn will happen and when it does, use it as an opportunity to dig into what led the customer to leave, and what you can do to prevent a similar customer from churning for the same reason.") 54 | st.write("One crucial step is to track your churn and retention rates. You can do this with HubSpot's Customer Service Metrics Calculator — a free tool to calculate and document your retention rate over time.") 55 | st.write("You can use instances of churn to dig into individual customer support rep or manager performance, analyze your product or service against competitors, or identify challenges in the customer experience that you want to remedy with the help of your product and development teams.") 56 | st.subheader("2. Revamp your onboarding plan for new customers.") 57 | st.write("You can work to prevent customer churn from the moment someone becomes a customer by creating a robust new onboarding process. Use a new customer welcome email and offer dedicated 1:1 and online customer onboarding. You can also create educational content on your blog, social media, and video channels to instruct customers and show them how to get optimal value from your product or service.") 58 | st.subheader("3. Invest in more training for support and sales reps.") 59 | st.write("Sales reps should be selling the true value of your product or service so customers don't feel swindled. Additionally, customer support employees should be well-equipped to manage any issue that comes their way to secure customer satisfaction. Investing in processes and resources for these two departments can have a drastic impact on churn rate.") 60 | st.subheader("4. Ask for feedback at key moments — and respond promptly.") 61 | st.write("Make sure you're constantly asking for customer feedback at key moments across the customer experience. If you've already identified that customers are likely to churn if they don't log into your tool every 15 days, ask them for feedback around day 10 and try to re-engage them.") 62 | st.write("If they hit a milestone using your product or service, ask them for feedback after that moment. Figure out the key moments that make or break a happy customer and ask for feedback at those touchpoints to strengthen the relationship.") 63 | st.write("Sometimes, customer feedback comes in the form of negative customer reviews — in which case you'll want to respond promptly and appropriately.") 64 | st.subheader("5. Communicate proactively with customers.") 65 | st.write("Build rapport with your customers by communicating with them proactively so they view you as a trusted partner. Periodically reach out with content you think they'll find interesting or helpful, connect and engage with them on social media, and reach out if issues or outages crop up on the product side so they know they can depend on you.") 66 | st.subheader("6. Offer exclusive perks to existing customers.") 67 | st.write("To prevent further churn, you can offer perks to your current customers. While you could potentially institute a reward program, that's a better fit for retail businesses. You can instead opt for personalized touch-points every once in a while, such as an in-person coffee chat or personal visit to their office.") 68 | st.write("If your business is small, you can also have the CEO personally check in with existing customers to find out how they're doing. This is also a great opportunity to get feedback. A busy customer may not take a survey, but if the CEO asks them if they have any comments, the customer may be more likely to respond.") 69 | st.subheader("7. Leverage feedback from free trial customers.") 70 | st.write("Churn doesn't happen until you lose revenue after a customer leaves your business. But if someone doesn't purchase your product after a free trial, that can be counted as churn — metaphorically speaking.") 71 | st.write("Carry out a survey of those who didn't purchase your product after a free trial. A customer who's already left the business likely won't answer many questions about your product or why it didn't work for them. Someone who took a free trial and ultimately didn't end up making a purchase will expect a survey link. They've also had little interaction with your business, so they're more likely to be frank.") 72 | st.write("Use this feedback to improve your product and learn what makes customers 'churn' before they even become a paying subscriber.") 73 | st.write("Pair these tips with customer retention strategies to lower churn rate.") 74 | st.subheader(":blue[8. Churn Rate Examples.]") 75 | st.write("Many SaaS companies, specifically in the B2C space, publish their churn rates to show how well they retain customers. Use these examples to guide your understanding of your own churn rate — what it should look like for your business and where some famous companies lie on the spectrum.") 76 | st.subheader("Netflix: 3.3% Monthly Churn Rate") 77 | st.write("Netflix has one of the lowest churn rates in the video streaming industry. Its monthly churn rate is strikingly low at 3.5%, meaning that just over 96% of customers choose to stay with Netflix. Causes may include its expansive catalog of shows and its well-established brand voice.") 78 | st.subheader("Disney+: 3.7% Monthly Churn Rate") 79 | st.write("Disney has always avoided being part of other streaming services, and it launched its own service to distribute its shows online. Disney+'s monthly churn rate is 5%, as of March 2023. Churn rates for the Disney Bundle, which includes Disney+, Hulu, and ESPN+, is even lower at just 2%.") 80 | st.subheader("Spotify: 3.9% Monthly Churn Rate") 81 | st.write("Spotify is a popular music streaming service that's known for its personalized recommendations and expansive music library. It has a reported churn rate of 3.9% at the end of 2021 according to CFO Paul Vogel.") 82 | st.subheader("Hulu: 5.2% Monthly Churn Rate") 83 | st.write("Hulu is one of Netflix's principal competitors. Well-known for its exclusive TV shows, it has an 11% market share in the video streaming industry and a 4.7% churn rate.") 84 | st.subheader("Peloton: 1.41% Monthly Churn Rate") 85 | st.write("Peloton has a 1.1% monthly churn rate. The exercise equipment and fitness subscription company may enjoy a high retention rate for being the first in-home cycling fitness subscription. Its status as the first of its kind has cemented its subscriber base.") 86 | st.subheader("Adobe: 10% Yearly Churn Rate") 87 | st.write("According to Rob Giglio, former Vice President of Adobe's Digital Media, Adobe has less than a 10% yearly churn rate and over a 90% customer retention rate.") 88 | st.subheader("Apple TV+: 15.6% Monthly Churn Rate") 89 | st.write("Apple TV+'s monthly churn rate is at 15.6%. Some outlets have reported that it's as high as 20%. A tech journalist called it the 'most unloved' of Apple's platforms. Another has argued that its catalog is 'tiny' and that the content is largely non-original. Additionally, many Apple users were on a free trial and Apple had been extending promotional periods since it launched, which may be the reason why its churn rate is higher compared to its competitors.") 90 | st.subheader(":blue[9. What is a good churn rate ?]") 91 | st.write("A good or 'acceptable' churn rate is from 2% to 8%, especially for B2C SaaS businesses that offer self-serve solutions. The lower, the better, or it can significantly impact your Monthly Recurring Revenue (MRR). For B2B SaaS businesses with high average contract values (greater than $1,000 per month), churn rate should be below 2%.") 92 | st.subheader(":blue[10. What is annual churn rate ?]") 93 | st.write("Annual churn rate refers to the percentage of customers lost over the course of a year. To calculate annual churn rate, you would look at the number of customers you had at the beginning of the year, then look at the number you had at the end of the year.") 94 | st.write("Subtract those two numbers. After, divide that by the amount of customers you had at the start of the year, and multiply by 100.") 95 | st.write("For example, let's say you had 1,000 customers at the beginning of the year and 800 at the end of the year.") 96 | st.write("(1,000 - 800) ÷ 1,000 x 100 = annual churn rate") 97 | st.write("(200) ÷ 1,000 x 100 = 20") 98 | st.write("The annual churn rate would be 20%.") 99 | st.subheader(":blue[11. What is monthly churn rate ?]") 100 | st.write("Monthly churn rate refers to the percentage of customers lost over the course of a month. To calculate monthly churn rate, divide the number of customers you lost over the month by the number of customers you had at the beginning of the month. Multiply the result by 100.") 101 | st.write("Let's try an example with real numbers. We'll go with 200 customers lost with 1,200 customers at the beginning of the month.") 102 | st.write("(200 ÷ 1,200) x 100 = monthly churn rate") 103 | st.write("0.16 x 100 = 16") 104 | st.write("The monthly churn rate is 16%.") 105 | st.subheader(":blue[12. What is revenue churn rate ?]") 106 | st.write("Revenue churn rate is a metric that measures the amount of revenue a business has lost due to customer churn during a given time period.") 107 | st.write("It's critical to keep an eye on your revenue churn rate because it directly affects the financial health of your business. If your company is losing a significant portion of its revenue due to customer churn or service downgrades, it can negatively impact your financial stability and profitability in the long term.") 108 | st.write("Revenue churn rate is also an important metric because it provides insight into the long-term value of your customers. If your revenue churn rate is too high, it could indicate that your customers are not finding enough value in your product or service, or that your retention efforts could be improved.") 109 | st.subheader(":blue[13. How to Calculate Revenue Churn Rate ?]") 110 | st.write("To calculate revenue churn rate, you need to know the revenue lost due to customer churn and the total revenue generated by your business during a specific time period. Divide the revenue lost due to customer churn by the total revenue generated. Then, multiply that number by 100 to get a percentage. Here's the formula:") 111 | st.write("Revenue churn rate = (Revenue lost due to customer churn / Total revenue generated) x 100") 112 | st.write("As an example, let's say your company generated 1 million in revenue in a month, and during that month lost $100,000 due to customer churn, the revenue churn rate would be calculated as follows:") 113 | st.write("Revenue Churn Rate = (100,000 ÷ 1,000,000) x 100") 114 | st.write("Revenue Churn Rate = (0.10) x 100") 115 | st.write("Revenue Churn Rate = 10%") 116 | st.subheader(":blue[14. Customer Churn Rate vs Revenue Churn Rate.]") 117 | st.write("Customer churn rate measures the percentage of customers who have stopped using your product or service, while revenue churn rate measures the percentage of revenue that has been lost due to customer churn.") 118 | st.write("Though customer churn rate and revenue churn rate are related, it's imperative to differentiate them because their results can mean very different things, especially for SaaS companies with multiple product tiers.") 119 | st.write("For example, if you notice a high customer churn rate, but revenue churn rate remains low, it might indicate that customers are downsizing to a lower-tier product rather than leaving altogether. On the flip side, if the revenue churn rate is high, but the customer churn rate is low, it might mean that the business is losing its largest customers.") 120 | st.write("By understanding both metrics, your business can take corrective action to improve customer retention rates and reduce churn, while protecting your revenue streams at the same time.") 121 | st.subheader(":blue[15. How can I track churn ?]") 122 | st.write("Tracking churn over time can be done in a number of ways. You can keep a spreadsheet with your findings and visualize it using the spreadsheet's built-in data visualization tool. You can also use a dedicated reporting dashboard software such as HubSpot's to automatically calculate and track churn.") 123 | st.subheader(":blue[16. What is the difference between attrition and churn ?]") 124 | st.write("Customer attrition is the same as customer churn. It's also referred to as customer turnover and customer defection.") 125 | st.write("Although the terms vary, they are all referring to churn and can be used interchangeably.") 126 | st.subheader(":blue[17. Calculate Churn Rate to Reduce Customer Turnover.]") 127 | st.write("Calculating churn rate may seem like an unpleasant task, but it's critical to track it to understand what may be going wrong on a customer service level. Calculate customer churn rate over a year or a month, improve your customer service systems, invest in your customer service reps, and watch your churn rate decrease exponentially.") 128 | -------------------------------------------------------------------------------- /Churn Analysis - Model Building.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "### Importing Libraries" 8 | ] 9 | }, 10 | { 11 | "cell_type": "code", 12 | "execution_count": 1, 13 | "metadata": {}, 14 | "outputs": [], 15 | "source": [ 16 | "import pandas as pd\n", 17 | "from sklearn import metrics\n", 18 | "from sklearn.model_selection import train_test_split\n", 19 | "from sklearn.metrics import recall_score\n", 20 | "from sklearn.metrics import classification_report\n", 21 | "from sklearn.metrics import confusion_matrix\n", 22 | "from sklearn.tree import DecisionTreeClassifier\n", 23 | "from imblearn.combine import SMOTEENN" 24 | ] 25 | }, 26 | { 27 | "cell_type": "markdown", 28 | "metadata": {}, 29 | "source": [ 30 | "#### Reading csv" 31 | ] 32 | }, 33 | { 34 | "cell_type": "code", 35 | "execution_count": 2, 36 | "metadata": {}, 37 | "outputs": [ 38 | { 39 | "data": { 40 | "text/html": [ 41 | "
| \n", 59 | " | Unnamed: 0 | \n", 60 | "SeniorCitizen | \n", 61 | "MonthlyCharges | \n", 62 | "TotalCharges | \n", 63 | "Churn | \n", 64 | "gender_Female | \n", 65 | "gender_Male | \n", 66 | "Partner_No | \n", 67 | "Partner_Yes | \n", 68 | "Dependents_No | \n", 69 | "... | \n", 70 | "PaymentMethod_Bank transfer (automatic) | \n", 71 | "PaymentMethod_Credit card (automatic) | \n", 72 | "PaymentMethod_Electronic check | \n", 73 | "PaymentMethod_Mailed check | \n", 74 | "tenure_group_1 - 12 | \n", 75 | "tenure_group_13 - 24 | \n", 76 | "tenure_group_25 - 36 | \n", 77 | "tenure_group_37 - 48 | \n", 78 | "tenure_group_49 - 60 | \n", 79 | "tenure_group_61 - 72 | \n", 80 | "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", 85 | "0 | \n", 86 | "0 | \n", 87 | "29.85 | \n", 88 | "29.85 | \n", 89 | "0 | \n", 90 | "1 | \n", 91 | "0 | \n", 92 | "0 | \n", 93 | "1 | \n", 94 | "1 | \n", 95 | "... | \n", 96 | "0 | \n", 97 | "0 | \n", 98 | "1 | \n", 99 | "0 | \n", 100 | "1 | \n", 101 | "0 | \n", 102 | "0 | \n", 103 | "0 | \n", 104 | "0 | \n", 105 | "0 | \n", 106 | "
| 1 | \n", 109 | "1 | \n", 110 | "0 | \n", 111 | "56.95 | \n", 112 | "1889.50 | \n", 113 | "0 | \n", 114 | "0 | \n", 115 | "1 | \n", 116 | "1 | \n", 117 | "0 | \n", 118 | "1 | \n", 119 | "... | \n", 120 | "0 | \n", 121 | "0 | \n", 122 | "0 | \n", 123 | "1 | \n", 124 | "0 | \n", 125 | "0 | \n", 126 | "1 | \n", 127 | "0 | \n", 128 | "0 | \n", 129 | "0 | \n", 130 | "
| 2 | \n", 133 | "2 | \n", 134 | "0 | \n", 135 | "53.85 | \n", 136 | "108.15 | \n", 137 | "1 | \n", 138 | "0 | \n", 139 | "1 | \n", 140 | "1 | \n", 141 | "0 | \n", 142 | "1 | \n", 143 | "... | \n", 144 | "0 | \n", 145 | "0 | \n", 146 | "0 | \n", 147 | "1 | \n", 148 | "1 | \n", 149 | "0 | \n", 150 | "0 | \n", 151 | "0 | \n", 152 | "0 | \n", 153 | "0 | \n", 154 | "
| 3 | \n", 157 | "3 | \n", 158 | "0 | \n", 159 | "42.30 | \n", 160 | "1840.75 | \n", 161 | "0 | \n", 162 | "0 | \n", 163 | "1 | \n", 164 | "1 | \n", 165 | "0 | \n", 166 | "1 | \n", 167 | "... | \n", 168 | "1 | \n", 169 | "0 | \n", 170 | "0 | \n", 171 | "0 | \n", 172 | "0 | \n", 173 | "0 | \n", 174 | "0 | \n", 175 | "1 | \n", 176 | "0 | \n", 177 | "0 | \n", 178 | "
| 4 | \n", 181 | "4 | \n", 182 | "0 | \n", 183 | "70.70 | \n", 184 | "151.65 | \n", 185 | "1 | \n", 186 | "1 | \n", 187 | "0 | \n", 188 | "1 | \n", 189 | "0 | \n", 190 | "1 | \n", 191 | "... | \n", 192 | "0 | \n", 193 | "0 | \n", 194 | "1 | \n", 195 | "0 | \n", 196 | "1 | \n", 197 | "0 | \n", 198 | "0 | \n", 199 | "0 | \n", 200 | "0 | \n", 201 | "0 | \n", 202 | "
5 rows × 52 columns
\n", 206 | "| \n", 306 | " | SeniorCitizen | \n", 307 | "MonthlyCharges | \n", 308 | "TotalCharges | \n", 309 | "gender_Female | \n", 310 | "gender_Male | \n", 311 | "Partner_No | \n", 312 | "Partner_Yes | \n", 313 | "Dependents_No | \n", 314 | "Dependents_Yes | \n", 315 | "PhoneService_No | \n", 316 | "... | \n", 317 | "PaymentMethod_Bank transfer (automatic) | \n", 318 | "PaymentMethod_Credit card (automatic) | \n", 319 | "PaymentMethod_Electronic check | \n", 320 | "PaymentMethod_Mailed check | \n", 321 | "tenure_group_1 - 12 | \n", 322 | "tenure_group_13 - 24 | \n", 323 | "tenure_group_25 - 36 | \n", 324 | "tenure_group_37 - 48 | \n", 325 | "tenure_group_49 - 60 | \n", 326 | "tenure_group_61 - 72 | \n", 327 | "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", 332 | "0 | \n", 333 | "29.85 | \n", 334 | "29.85 | \n", 335 | "1 | \n", 336 | "0 | \n", 337 | "0 | \n", 338 | "1 | \n", 339 | "1 | \n", 340 | "0 | \n", 341 | "1 | \n", 342 | "... | \n", 343 | "0 | \n", 344 | "0 | \n", 345 | "1 | \n", 346 | "0 | \n", 347 | "1 | \n", 348 | "0 | \n", 349 | "0 | \n", 350 | "0 | \n", 351 | "0 | \n", 352 | "0 | \n", 353 | "
| 1 | \n", 356 | "0 | \n", 357 | "56.95 | \n", 358 | "1889.50 | \n", 359 | "0 | \n", 360 | "1 | \n", 361 | "1 | \n", 362 | "0 | \n", 363 | "1 | \n", 364 | "0 | \n", 365 | "0 | \n", 366 | "... | \n", 367 | "0 | \n", 368 | "0 | \n", 369 | "0 | \n", 370 | "1 | \n", 371 | "0 | \n", 372 | "0 | \n", 373 | "1 | \n", 374 | "0 | \n", 375 | "0 | \n", 376 | "0 | \n", 377 | "
| 2 | \n", 380 | "0 | \n", 381 | "53.85 | \n", 382 | "108.15 | \n", 383 | "0 | \n", 384 | "1 | \n", 385 | "1 | \n", 386 | "0 | \n", 387 | "1 | \n", 388 | "0 | \n", 389 | "0 | \n", 390 | "... | \n", 391 | "0 | \n", 392 | "0 | \n", 393 | "0 | \n", 394 | "1 | \n", 395 | "1 | \n", 396 | "0 | \n", 397 | "0 | \n", 398 | "0 | \n", 399 | "0 | \n", 400 | "0 | \n", 401 | "
| 3 | \n", 404 | "0 | \n", 405 | "42.30 | \n", 406 | "1840.75 | \n", 407 | "0 | \n", 408 | "1 | \n", 409 | "1 | \n", 410 | "0 | \n", 411 | "1 | \n", 412 | "0 | \n", 413 | "1 | \n", 414 | "... | \n", 415 | "1 | \n", 416 | "0 | \n", 417 | "0 | \n", 418 | "0 | \n", 419 | "0 | \n", 420 | "0 | \n", 421 | "0 | \n", 422 | "1 | \n", 423 | "0 | \n", 424 | "0 | \n", 425 | "
| 4 | \n", 428 | "0 | \n", 429 | "70.70 | \n", 430 | "151.65 | \n", 431 | "1 | \n", 432 | "0 | \n", 433 | "1 | \n", 434 | "0 | \n", 435 | "1 | \n", 436 | "0 | \n", 437 | "0 | \n", 438 | "... | \n", 439 | "0 | \n", 440 | "0 | \n", 441 | "1 | \n", 442 | "0 | \n", 443 | "1 | \n", 444 | "0 | \n", 445 | "0 | \n", 446 | "0 | \n", 447 | "0 | \n", 448 | "0 | \n", 449 | "
| 5 | \n", 452 | "0 | \n", 453 | "99.65 | \n", 454 | "820.50 | \n", 455 | "1 | \n", 456 | "0 | \n", 457 | "1 | \n", 458 | "0 | \n", 459 | "1 | \n", 460 | "0 | \n", 461 | "0 | \n", 462 | "... | \n", 463 | "0 | \n", 464 | "0 | \n", 465 | "1 | \n", 466 | "0 | \n", 467 | "1 | \n", 468 | "0 | \n", 469 | "0 | \n", 470 | "0 | \n", 471 | "0 | \n", 472 | "0 | \n", 473 | "
| 6 | \n", 476 | "0 | \n", 477 | "89.10 | \n", 478 | "1949.40 | \n", 479 | "0 | \n", 480 | "1 | \n", 481 | "1 | \n", 482 | "0 | \n", 483 | "0 | \n", 484 | "1 | \n", 485 | "0 | \n", 486 | "... | \n", 487 | "0 | \n", 488 | "1 | \n", 489 | "0 | \n", 490 | "0 | \n", 491 | "0 | \n", 492 | "1 | \n", 493 | "0 | \n", 494 | "0 | \n", 495 | "0 | \n", 496 | "0 | \n", 497 | "
| 7 | \n", 500 | "0 | \n", 501 | "29.75 | \n", 502 | "301.90 | \n", 503 | "1 | \n", 504 | "0 | \n", 505 | "1 | \n", 506 | "0 | \n", 507 | "1 | \n", 508 | "0 | \n", 509 | "1 | \n", 510 | "... | \n", 511 | "0 | \n", 512 | "0 | \n", 513 | "0 | \n", 514 | "1 | \n", 515 | "1 | \n", 516 | "0 | \n", 517 | "0 | \n", 518 | "0 | \n", 519 | "0 | \n", 520 | "0 | \n", 521 | "
| 8 | \n", 524 | "0 | \n", 525 | "104.80 | \n", 526 | "3046.05 | \n", 527 | "1 | \n", 528 | "0 | \n", 529 | "0 | \n", 530 | "1 | \n", 531 | "1 | \n", 532 | "0 | \n", 533 | "0 | \n", 534 | "... | \n", 535 | "0 | \n", 536 | "0 | \n", 537 | "1 | \n", 538 | "0 | \n", 539 | "0 | \n", 540 | "0 | \n", 541 | "1 | \n", 542 | "0 | \n", 543 | "0 | \n", 544 | "0 | \n", 545 | "
| 9 | \n", 548 | "0 | \n", 549 | "56.15 | \n", 550 | "3487.95 | \n", 551 | "0 | \n", 552 | "1 | \n", 553 | "1 | \n", 554 | "0 | \n", 555 | "0 | \n", 556 | "1 | \n", 557 | "0 | \n", 558 | "... | \n", 559 | "1 | \n", 560 | "0 | \n", 561 | "0 | \n", 562 | "0 | \n", 563 | "0 | \n", 564 | "0 | \n", 565 | "0 | \n", 566 | "0 | \n", 567 | "0 | \n", 568 | "1 | \n", 569 | "
| 10 | \n", 572 | "0 | \n", 573 | "49.95 | \n", 574 | "587.45 | \n", 575 | "0 | \n", 576 | "1 | \n", 577 | "0 | \n", 578 | "1 | \n", 579 | "0 | \n", 580 | "1 | \n", 581 | "0 | \n", 582 | "... | \n", 583 | "0 | \n", 584 | "0 | \n", 585 | "0 | \n", 586 | "1 | \n", 587 | "0 | \n", 588 | "1 | \n", 589 | "0 | \n", 590 | "0 | \n", 591 | "0 | \n", 592 | "0 | \n", 593 | "
| 11 | \n", 596 | "0 | \n", 597 | "18.95 | \n", 598 | "326.80 | \n", 599 | "0 | \n", 600 | "1 | \n", 601 | "1 | \n", 602 | "0 | \n", 603 | "1 | \n", 604 | "0 | \n", 605 | "0 | \n", 606 | "... | \n", 607 | "0 | \n", 608 | "1 | \n", 609 | "0 | \n", 610 | "0 | \n", 611 | "0 | \n", 612 | "1 | \n", 613 | "0 | \n", 614 | "0 | \n", 615 | "0 | \n", 616 | "0 | \n", 617 | "
| 12 | \n", 620 | "0 | \n", 621 | "100.35 | \n", 622 | "5681.10 | \n", 623 | "0 | \n", 624 | "1 | \n", 625 | "0 | \n", 626 | "1 | \n", 627 | "1 | \n", 628 | "0 | \n", 629 | "0 | \n", 630 | "... | \n", 631 | "0 | \n", 632 | "1 | \n", 633 | "0 | \n", 634 | "0 | \n", 635 | "0 | \n", 636 | "0 | \n", 637 | "0 | \n", 638 | "0 | \n", 639 | "1 | \n", 640 | "0 | \n", 641 | "
| 13 | \n", 644 | "0 | \n", 645 | "103.70 | \n", 646 | "5036.30 | \n", 647 | "0 | \n", 648 | "1 | \n", 649 | "1 | \n", 650 | "0 | \n", 651 | "1 | \n", 652 | "0 | \n", 653 | "0 | \n", 654 | "... | \n", 655 | "1 | \n", 656 | "0 | \n", 657 | "0 | \n", 658 | "0 | \n", 659 | "0 | \n", 660 | "0 | \n", 661 | "0 | \n", 662 | "0 | \n", 663 | "1 | \n", 664 | "0 | \n", 665 | "
| 14 | \n", 668 | "0 | \n", 669 | "105.50 | \n", 670 | "2686.05 | \n", 671 | "0 | \n", 672 | "1 | \n", 673 | "1 | \n", 674 | "0 | \n", 675 | "1 | \n", 676 | "0 | \n", 677 | "0 | \n", 678 | "... | \n", 679 | "0 | \n", 680 | "0 | \n", 681 | "1 | \n", 682 | "0 | \n", 683 | "0 | \n", 684 | "0 | \n", 685 | "1 | \n", 686 | "0 | \n", 687 | "0 | \n", 688 | "0 | \n", 689 | "
| 15 | \n", 692 | "0 | \n", 693 | "113.25 | \n", 694 | "7895.15 | \n", 695 | "1 | \n", 696 | "0 | \n", 697 | "0 | \n", 698 | "1 | \n", 699 | "0 | \n", 700 | "1 | \n", 701 | "0 | \n", 702 | "... | \n", 703 | "0 | \n", 704 | "1 | \n", 705 | "0 | \n", 706 | "0 | \n", 707 | "0 | \n", 708 | "0 | \n", 709 | "0 | \n", 710 | "0 | \n", 711 | "0 | \n", 712 | "1 | \n", 713 | "
| 16 | \n", 716 | "0 | \n", 717 | "20.65 | \n", 718 | "1022.95 | \n", 719 | "1 | \n", 720 | "0 | \n", 721 | "1 | \n", 722 | "0 | \n", 723 | "1 | \n", 724 | "0 | \n", 725 | "0 | \n", 726 | "... | \n", 727 | "0 | \n", 728 | "0 | \n", 729 | "0 | \n", 730 | "1 | \n", 731 | "0 | \n", 732 | "0 | \n", 733 | "0 | \n", 734 | "0 | \n", 735 | "1 | \n", 736 | "0 | \n", 737 | "
| 17 | \n", 740 | "0 | \n", 741 | "106.70 | \n", 742 | "7382.25 | \n", 743 | "0 | \n", 744 | "1 | \n", 745 | "1 | \n", 746 | "0 | \n", 747 | "0 | \n", 748 | "1 | \n", 749 | "0 | \n", 750 | "... | \n", 751 | "1 | \n", 752 | "0 | \n", 753 | "0 | \n", 754 | "0 | \n", 755 | "0 | \n", 756 | "0 | \n", 757 | "0 | \n", 758 | "0 | \n", 759 | "0 | \n", 760 | "1 | \n", 761 | "
| 18 | \n", 764 | "0 | \n", 765 | "55.20 | \n", 766 | "528.35 | \n", 767 | "1 | \n", 768 | "0 | \n", 769 | "0 | \n", 770 | "1 | \n", 771 | "0 | \n", 772 | "1 | \n", 773 | "0 | \n", 774 | "... | \n", 775 | "0 | \n", 776 | "1 | \n", 777 | "0 | \n", 778 | "0 | \n", 779 | "1 | \n", 780 | "0 | \n", 781 | "0 | \n", 782 | "0 | \n", 783 | "0 | \n", 784 | "0 | \n", 785 | "
| 19 | \n", 788 | "0 | \n", 789 | "90.05 | \n", 790 | "1862.90 | \n", 791 | "1 | \n", 792 | "0 | \n", 793 | "1 | \n", 794 | "0 | \n", 795 | "1 | \n", 796 | "0 | \n", 797 | "0 | \n", 798 | "... | \n", 799 | "0 | \n", 800 | "0 | \n", 801 | "1 | \n", 802 | "0 | \n", 803 | "0 | \n", 804 | "1 | \n", 805 | "0 | \n", 806 | "0 | \n", 807 | "0 | \n", 808 | "0 | \n", 809 | "
| 20 | \n", 812 | "1 | \n", 813 | "39.65 | \n", 814 | "39.65 | \n", 815 | "0 | \n", 816 | "1 | \n", 817 | "1 | \n", 818 | "0 | \n", 819 | "1 | \n", 820 | "0 | \n", 821 | "1 | \n", 822 | "... | \n", 823 | "0 | \n", 824 | "0 | \n", 825 | "1 | \n", 826 | "0 | \n", 827 | "1 | \n", 828 | "0 | \n", 829 | "0 | \n", 830 | "0 | \n", 831 | "0 | \n", 832 | "0 | \n", 833 | "
| 21 | \n", 836 | "0 | \n", 837 | "19.80 | \n", 838 | "202.25 | \n", 839 | "0 | \n", 840 | "1 | \n", 841 | "0 | \n", 842 | "1 | \n", 843 | "1 | \n", 844 | "0 | \n", 845 | "0 | \n", 846 | "... | \n", 847 | "1 | \n", 848 | "0 | \n", 849 | "0 | \n", 850 | "0 | \n", 851 | "1 | \n", 852 | "0 | \n", 853 | "0 | \n", 854 | "0 | \n", 855 | "0 | \n", 856 | "0 | \n", 857 | "
| 22 | \n", 860 | "0 | \n", 861 | "20.15 | \n", 862 | "20.15 | \n", 863 | "0 | \n", 864 | "1 | \n", 865 | "1 | \n", 866 | "0 | \n", 867 | "1 | \n", 868 | "0 | \n", 869 | "0 | \n", 870 | "... | \n", 871 | "0 | \n", 872 | "0 | \n", 873 | "0 | \n", 874 | "1 | \n", 875 | "1 | \n", 876 | "0 | \n", 877 | "0 | \n", 878 | "0 | \n", 879 | "0 | \n", 880 | "0 | \n", 881 | "
| 23 | \n", 884 | "0 | \n", 885 | "59.90 | \n", 886 | "3505.10 | \n", 887 | "1 | \n", 888 | "0 | \n", 889 | "0 | \n", 890 | "1 | \n", 891 | "1 | \n", 892 | "0 | \n", 893 | "0 | \n", 894 | "... | \n", 895 | "0 | \n", 896 | "1 | \n", 897 | "0 | \n", 898 | "0 | \n", 899 | "0 | \n", 900 | "0 | \n", 901 | "0 | \n", 902 | "0 | \n", 903 | "1 | \n", 904 | "0 | \n", 905 | "
| 24 | \n", 908 | "0 | \n", 909 | "59.60 | \n", 910 | "2970.30 | \n", 911 | "0 | \n", 912 | "1 | \n", 913 | "0 | \n", 914 | "1 | \n", 915 | "0 | \n", 916 | "1 | \n", 917 | "0 | \n", 918 | "... | \n", 919 | "0 | \n", 920 | "1 | \n", 921 | "0 | \n", 922 | "0 | \n", 923 | "0 | \n", 924 | "0 | \n", 925 | "0 | \n", 926 | "0 | \n", 927 | "1 | \n", 928 | "0 | \n", 929 | "
| 25 | \n", 932 | "0 | \n", 933 | "55.30 | \n", 934 | "1530.60 | \n", 935 | "1 | \n", 936 | "0 | \n", 937 | "1 | \n", 938 | "0 | \n", 939 | "1 | \n", 940 | "0 | \n", 941 | "0 | \n", 942 | "... | \n", 943 | "1 | \n", 944 | "0 | \n", 945 | "0 | \n", 946 | "0 | \n", 947 | "0 | \n", 948 | "0 | \n", 949 | "1 | \n", 950 | "0 | \n", 951 | "0 | \n", 952 | "0 | \n", 953 | "
| 26 | \n", 956 | "0 | \n", 957 | "99.35 | \n", 958 | "4749.15 | \n", 959 | "0 | \n", 960 | "1 | \n", 961 | "0 | \n", 962 | "1 | \n", 963 | "0 | \n", 964 | "1 | \n", 965 | "0 | \n", 966 | "... | \n", 967 | "0 | \n", 968 | "0 | \n", 969 | "1 | \n", 970 | "0 | \n", 971 | "0 | \n", 972 | "0 | \n", 973 | "0 | \n", 974 | "1 | \n", 975 | "0 | \n", 976 | "0 | \n", 977 | "
| 27 | \n", 980 | "0 | \n", 981 | "30.20 | \n", 982 | "30.20 | \n", 983 | "0 | \n", 984 | "1 | \n", 985 | "0 | \n", 986 | "1 | \n", 987 | "0 | \n", 988 | "1 | \n", 989 | "1 | \n", 990 | "... | \n", 991 | "0 | \n", 992 | "0 | \n", 993 | "1 | \n", 994 | "0 | \n", 995 | "1 | \n", 996 | "0 | \n", 997 | "0 | \n", 998 | "0 | \n", 999 | "0 | \n", 1000 | "0 | \n", 1001 | "
| 28 | \n", 1004 | "0 | \n", 1005 | "90.25 | \n", 1006 | "6369.45 | \n", 1007 | "0 | \n", 1008 | "1 | \n", 1009 | "0 | \n", 1010 | "1 | \n", 1011 | "1 | \n", 1012 | "0 | \n", 1013 | "0 | \n", 1014 | "... | \n", 1015 | "0 | \n", 1016 | "1 | \n", 1017 | "0 | \n", 1018 | "0 | \n", 1019 | "0 | \n", 1020 | "0 | \n", 1021 | "0 | \n", 1022 | "0 | \n", 1023 | "0 | \n", 1024 | "1 | \n", 1025 | "
| 29 | \n", 1028 | "0 | \n", 1029 | "64.70 | \n", 1030 | "1093.10 | \n", 1031 | "1 | \n", 1032 | "0 | \n", 1033 | "1 | \n", 1034 | "0 | \n", 1035 | "0 | \n", 1036 | "1 | \n", 1037 | "0 | \n", 1038 | "... | \n", 1039 | "0 | \n", 1040 | "0 | \n", 1041 | "0 | \n", 1042 | "1 | \n", 1043 | "0 | \n", 1044 | "1 | \n", 1045 | "0 | \n", 1046 | "0 | \n", 1047 | "0 | \n", 1048 | "0 | \n", 1049 | "
| ... | \n", 1052 | "... | \n", 1053 | "... | \n", 1054 | "... | \n", 1055 | "... | \n", 1056 | "... | \n", 1057 | "... | \n", 1058 | "... | \n", 1059 | "... | \n", 1060 | "... | \n", 1061 | "... | \n", 1062 | "... | \n", 1063 | "... | \n", 1064 | "... | \n", 1065 | "... | \n", 1066 | "... | \n", 1067 | "... | \n", 1068 | "... | \n", 1069 | "... | \n", 1070 | "... | \n", 1071 | "... | \n", 1072 | "... | \n", 1073 | "
| 7002 | \n", 1076 | "0 | \n", 1077 | "93.40 | \n", 1078 | "3756.40 | \n", 1079 | "1 | \n", 1080 | "0 | \n", 1081 | "1 | \n", 1082 | "0 | \n", 1083 | "1 | \n", 1084 | "0 | \n", 1085 | "0 | \n", 1086 | "... | \n", 1087 | "1 | \n", 1088 | "0 | \n", 1089 | "0 | \n", 1090 | "0 | \n", 1091 | "0 | \n", 1092 | "0 | \n", 1093 | "0 | \n", 1094 | "1 | \n", 1095 | "0 | \n", 1096 | "0 | \n", 1097 | "
| 7003 | \n", 1100 | "0 | \n", 1101 | "89.20 | \n", 1102 | "3645.75 | \n", 1103 | "0 | \n", 1104 | "1 | \n", 1105 | "1 | \n", 1106 | "0 | \n", 1107 | "1 | \n", 1108 | "0 | \n", 1109 | "0 | \n", 1110 | "... | \n", 1111 | "0 | \n", 1112 | "0 | \n", 1113 | "1 | \n", 1114 | "0 | \n", 1115 | "0 | \n", 1116 | "0 | \n", 1117 | "0 | \n", 1118 | "1 | \n", 1119 | "0 | \n", 1120 | "0 | \n", 1121 | "
| 7004 | \n", 1124 | "1 | \n", 1125 | "85.20 | \n", 1126 | "2874.45 | \n", 1127 | "0 | \n", 1128 | "1 | \n", 1129 | "0 | \n", 1130 | "1 | \n", 1131 | "1 | \n", 1132 | "0 | \n", 1133 | "0 | \n", 1134 | "... | \n", 1135 | "0 | \n", 1136 | "1 | \n", 1137 | "0 | \n", 1138 | "0 | \n", 1139 | "0 | \n", 1140 | "0 | \n", 1141 | "1 | \n", 1142 | "0 | \n", 1143 | "0 | \n", 1144 | "0 | \n", 1145 | "
| 7005 | \n", 1148 | "0 | \n", 1149 | "49.95 | \n", 1150 | "49.95 | \n", 1151 | "1 | \n", 1152 | "0 | \n", 1153 | "1 | \n", 1154 | "0 | \n", 1155 | "1 | \n", 1156 | "0 | \n", 1157 | "0 | \n", 1158 | "... | \n", 1159 | "0 | \n", 1160 | "0 | \n", 1161 | "1 | \n", 1162 | "0 | \n", 1163 | "1 | \n", 1164 | "0 | \n", 1165 | "0 | \n", 1166 | "0 | \n", 1167 | "0 | \n", 1168 | "0 | \n", 1169 | "
| 7006 | \n", 1172 | "0 | \n", 1173 | "20.65 | \n", 1174 | "1020.75 | \n", 1175 | "1 | \n", 1176 | "0 | \n", 1177 | "1 | \n", 1178 | "0 | \n", 1179 | "1 | \n", 1180 | "0 | \n", 1181 | "0 | \n", 1182 | "... | \n", 1183 | "1 | \n", 1184 | "0 | \n", 1185 | "0 | \n", 1186 | "0 | \n", 1187 | "0 | \n", 1188 | "0 | \n", 1189 | "0 | \n", 1190 | "0 | \n", 1191 | "1 | \n", 1192 | "0 | \n", 1193 | "
| 7007 | \n", 1196 | "0 | \n", 1197 | "70.65 | \n", 1198 | "70.65 | \n", 1199 | "0 | \n", 1200 | "1 | \n", 1201 | "0 | \n", 1202 | "1 | \n", 1203 | "0 | \n", 1204 | "1 | \n", 1205 | "0 | \n", 1206 | "... | \n", 1207 | "0 | \n", 1208 | "0 | \n", 1209 | "0 | \n", 1210 | "1 | \n", 1211 | "1 | \n", 1212 | "0 | \n", 1213 | "0 | \n", 1214 | "0 | \n", 1215 | "0 | \n", 1216 | "0 | \n", 1217 | "
| 7008 | \n", 1220 | "0 | \n", 1221 | "20.15 | \n", 1222 | "826.00 | \n", 1223 | "1 | \n", 1224 | "0 | \n", 1225 | "1 | \n", 1226 | "0 | \n", 1227 | "1 | \n", 1228 | "0 | \n", 1229 | "0 | \n", 1230 | "... | \n", 1231 | "0 | \n", 1232 | "0 | \n", 1233 | "0 | \n", 1234 | "1 | \n", 1235 | "0 | \n", 1236 | "0 | \n", 1237 | "0 | \n", 1238 | "1 | \n", 1239 | "0 | \n", 1240 | "0 | \n", 1241 | "
| 7009 | \n", 1244 | "0 | \n", 1245 | "19.20 | \n", 1246 | "239.00 | \n", 1247 | "0 | \n", 1248 | "1 | \n", 1249 | "0 | \n", 1250 | "1 | \n", 1251 | "0 | \n", 1252 | "1 | \n", 1253 | "0 | \n", 1254 | "... | \n", 1255 | "0 | \n", 1256 | "0 | \n", 1257 | "1 | \n", 1258 | "0 | \n", 1259 | "1 | \n", 1260 | "0 | \n", 1261 | "0 | \n", 1262 | "0 | \n", 1263 | "0 | \n", 1264 | "0 | \n", 1265 | "
| 7010 | \n", 1268 | "0 | \n", 1269 | "59.80 | \n", 1270 | "727.80 | \n", 1271 | "0 | \n", 1272 | "1 | \n", 1273 | "1 | \n", 1274 | "0 | \n", 1275 | "1 | \n", 1276 | "0 | \n", 1277 | "0 | \n", 1278 | "... | \n", 1279 | "0 | \n", 1280 | "0 | \n", 1281 | "1 | \n", 1282 | "0 | \n", 1283 | "1 | \n", 1284 | "0 | \n", 1285 | "0 | \n", 1286 | "0 | \n", 1287 | "0 | \n", 1288 | "0 | \n", 1289 | "
| 7011 | \n", 1292 | "0 | \n", 1293 | "104.95 | \n", 1294 | "7544.30 | \n", 1295 | "0 | \n", 1296 | "1 | \n", 1297 | "1 | \n", 1298 | "0 | \n", 1299 | "1 | \n", 1300 | "0 | \n", 1301 | "0 | \n", 1302 | "... | \n", 1303 | "0 | \n", 1304 | "0 | \n", 1305 | "1 | \n", 1306 | "0 | \n", 1307 | "0 | \n", 1308 | "0 | \n", 1309 | "0 | \n", 1310 | "0 | \n", 1311 | "0 | \n", 1312 | "1 | \n", 1313 | "
| 7012 | \n", 1316 | "1 | \n", 1317 | "103.50 | \n", 1318 | "6479.40 | \n", 1319 | "1 | \n", 1320 | "0 | \n", 1321 | "0 | \n", 1322 | "1 | \n", 1323 | "1 | \n", 1324 | "0 | \n", 1325 | "0 | \n", 1326 | "... | \n", 1327 | "0 | \n", 1328 | "0 | \n", 1329 | "1 | \n", 1330 | "0 | \n", 1331 | "0 | \n", 1332 | "0 | \n", 1333 | "0 | \n", 1334 | "0 | \n", 1335 | "0 | \n", 1336 | "1 | \n", 1337 | "
| 7013 | \n", 1340 | "0 | \n", 1341 | "84.80 | \n", 1342 | "3626.35 | \n", 1343 | "0 | \n", 1344 | "1 | \n", 1345 | "0 | \n", 1346 | "1 | \n", 1347 | "1 | \n", 1348 | "0 | \n", 1349 | "0 | \n", 1350 | "... | \n", 1351 | "0 | \n", 1352 | "1 | \n", 1353 | "0 | \n", 1354 | "0 | \n", 1355 | "0 | \n", 1356 | "0 | \n", 1357 | "0 | \n", 1358 | "1 | \n", 1359 | "0 | \n", 1360 | "0 | \n", 1361 | "
| 7014 | \n", 1364 | "0 | \n", 1365 | "95.05 | \n", 1366 | "1679.40 | \n", 1367 | "1 | \n", 1368 | "0 | \n", 1369 | "1 | \n", 1370 | "0 | \n", 1371 | "1 | \n", 1372 | "0 | \n", 1373 | "0 | \n", 1374 | "... | \n", 1375 | "1 | \n", 1376 | "0 | \n", 1377 | "0 | \n", 1378 | "0 | \n", 1379 | "0 | \n", 1380 | "1 | \n", 1381 | "0 | \n", 1382 | "0 | \n", 1383 | "0 | \n", 1384 | "0 | \n", 1385 | "
| 7015 | \n", 1388 | "0 | \n", 1389 | "44.20 | \n", 1390 | "403.35 | \n", 1391 | "1 | \n", 1392 | "0 | \n", 1393 | "1 | \n", 1394 | "0 | \n", 1395 | "1 | \n", 1396 | "0 | \n", 1397 | "0 | \n", 1398 | "... | \n", 1399 | "1 | \n", 1400 | "0 | \n", 1401 | "0 | \n", 1402 | "0 | \n", 1403 | "1 | \n", 1404 | "0 | \n", 1405 | "0 | \n", 1406 | "0 | \n", 1407 | "0 | \n", 1408 | "0 | \n", 1409 | "
| 7016 | \n", 1412 | "0 | \n", 1413 | "73.35 | \n", 1414 | "931.55 | \n", 1415 | "0 | \n", 1416 | "1 | \n", 1417 | "1 | \n", 1418 | "0 | \n", 1419 | "1 | \n", 1420 | "0 | \n", 1421 | "0 | \n", 1422 | "... | \n", 1423 | "0 | \n", 1424 | "0 | \n", 1425 | "0 | \n", 1426 | "1 | \n", 1427 | "0 | \n", 1428 | "1 | \n", 1429 | "0 | \n", 1430 | "0 | \n", 1431 | "0 | \n", 1432 | "0 | \n", 1433 | "
| 7017 | \n", 1436 | "0 | \n", 1437 | "64.10 | \n", 1438 | "4326.25 | \n", 1439 | "1 | \n", 1440 | "0 | \n", 1441 | "0 | \n", 1442 | "1 | \n", 1443 | "1 | \n", 1444 | "0 | \n", 1445 | "0 | \n", 1446 | "... | \n", 1447 | "1 | \n", 1448 | "0 | \n", 1449 | "0 | \n", 1450 | "0 | \n", 1451 | "0 | \n", 1452 | "0 | \n", 1453 | "0 | \n", 1454 | "0 | \n", 1455 | "0 | \n", 1456 | "1 | \n", 1457 | "
| 7018 | \n", 1460 | "1 | \n", 1461 | "44.40 | \n", 1462 | "263.05 | \n", 1463 | "1 | \n", 1464 | "0 | \n", 1465 | "1 | \n", 1466 | "0 | \n", 1467 | "1 | \n", 1468 | "0 | \n", 1469 | "1 | \n", 1470 | "... | \n", 1471 | "0 | \n", 1472 | "0 | \n", 1473 | "1 | \n", 1474 | "0 | \n", 1475 | "1 | \n", 1476 | "0 | \n", 1477 | "0 | \n", 1478 | "0 | \n", 1479 | "0 | \n", 1480 | "0 | \n", 1481 | "
| 7019 | \n", 1484 | "0 | \n", 1485 | "20.05 | \n", 1486 | "39.25 | \n", 1487 | "1 | \n", 1488 | "0 | \n", 1489 | "1 | \n", 1490 | "0 | \n", 1491 | "1 | \n", 1492 | "0 | \n", 1493 | "0 | \n", 1494 | "... | \n", 1495 | "0 | \n", 1496 | "0 | \n", 1497 | "0 | \n", 1498 | "1 | \n", 1499 | "1 | \n", 1500 | "0 | \n", 1501 | "0 | \n", 1502 | "0 | \n", 1503 | "0 | \n", 1504 | "0 | \n", 1505 | "
| 7020 | \n", 1508 | "1 | \n", 1509 | "60.00 | \n", 1510 | "3316.10 | \n", 1511 | "0 | \n", 1512 | "1 | \n", 1513 | "0 | \n", 1514 | "1 | \n", 1515 | "1 | \n", 1516 | "0 | \n", 1517 | "0 | \n", 1518 | "... | \n", 1519 | "0 | \n", 1520 | "1 | \n", 1521 | "0 | \n", 1522 | "0 | \n", 1523 | "0 | \n", 1524 | "0 | \n", 1525 | "0 | \n", 1526 | "0 | \n", 1527 | "1 | \n", 1528 | "0 | \n", 1529 | "
| 7021 | \n", 1532 | "1 | \n", 1533 | "75.75 | \n", 1534 | "75.75 | \n", 1535 | "0 | \n", 1536 | "1 | \n", 1537 | "1 | \n", 1538 | "0 | \n", 1539 | "1 | \n", 1540 | "0 | \n", 1541 | "0 | \n", 1542 | "... | \n", 1543 | "0 | \n", 1544 | "0 | \n", 1545 | "1 | \n", 1546 | "0 | \n", 1547 | "1 | \n", 1548 | "0 | \n", 1549 | "0 | \n", 1550 | "0 | \n", 1551 | "0 | \n", 1552 | "0 | \n", 1553 | "
| 7022 | \n", 1556 | "0 | \n", 1557 | "69.50 | \n", 1558 | "2625.25 | \n", 1559 | "0 | \n", 1560 | "1 | \n", 1561 | "1 | \n", 1562 | "0 | \n", 1563 | "1 | \n", 1564 | "0 | \n", 1565 | "0 | \n", 1566 | "... | \n", 1567 | "0 | \n", 1568 | "1 | \n", 1569 | "0 | \n", 1570 | "0 | \n", 1571 | "0 | \n", 1572 | "0 | \n", 1573 | "0 | \n", 1574 | "1 | \n", 1575 | "0 | \n", 1576 | "0 | \n", 1577 | "
| 7023 | \n", 1580 | "0 | \n", 1581 | "102.95 | \n", 1582 | "6886.25 | \n", 1583 | "1 | \n", 1584 | "0 | \n", 1585 | "1 | \n", 1586 | "0 | \n", 1587 | "1 | \n", 1588 | "0 | \n", 1589 | "0 | \n", 1590 | "... | \n", 1591 | "0 | \n", 1592 | "1 | \n", 1593 | "0 | \n", 1594 | "0 | \n", 1595 | "0 | \n", 1596 | "0 | \n", 1597 | "0 | \n", 1598 | "0 | \n", 1599 | "0 | \n", 1600 | "1 | \n", 1601 | "
| 7024 | \n", 1604 | "0 | \n", 1605 | "78.70 | \n", 1606 | "1495.10 | \n", 1607 | "0 | \n", 1608 | "1 | \n", 1609 | "1 | \n", 1610 | "0 | \n", 1611 | "1 | \n", 1612 | "0 | \n", 1613 | "0 | \n", 1614 | "... | \n", 1615 | "1 | \n", 1616 | "0 | \n", 1617 | "0 | \n", 1618 | "0 | \n", 1619 | "0 | \n", 1620 | "1 | \n", 1621 | "0 | \n", 1622 | "0 | \n", 1623 | "0 | \n", 1624 | "0 | \n", 1625 | "
| 7025 | \n", 1628 | "0 | \n", 1629 | "60.65 | \n", 1630 | "743.30 | \n", 1631 | "1 | \n", 1632 | "0 | \n", 1633 | "1 | \n", 1634 | "0 | \n", 1635 | "1 | \n", 1636 | "0 | \n", 1637 | "1 | \n", 1638 | "... | \n", 1639 | "0 | \n", 1640 | "0 | \n", 1641 | "1 | \n", 1642 | "0 | \n", 1643 | "1 | \n", 1644 | "0 | \n", 1645 | "0 | \n", 1646 | "0 | \n", 1647 | "0 | \n", 1648 | "0 | \n", 1649 | "
| 7026 | \n", 1652 | "0 | \n", 1653 | "21.15 | \n", 1654 | "1419.40 | \n", 1655 | "1 | \n", 1656 | "0 | \n", 1657 | "1 | \n", 1658 | "0 | \n", 1659 | "1 | \n", 1660 | "0 | \n", 1661 | "0 | \n", 1662 | "... | \n", 1663 | "1 | \n", 1664 | "0 | \n", 1665 | "0 | \n", 1666 | "0 | \n", 1667 | "0 | \n", 1668 | "0 | \n", 1669 | "0 | \n", 1670 | "0 | \n", 1671 | "0 | \n", 1672 | "1 | \n", 1673 | "
| 7027 | \n", 1676 | "0 | \n", 1677 | "84.80 | \n", 1678 | "1990.50 | \n", 1679 | "0 | \n", 1680 | "1 | \n", 1681 | "0 | \n", 1682 | "1 | \n", 1683 | "0 | \n", 1684 | "1 | \n", 1685 | "0 | \n", 1686 | "... | \n", 1687 | "0 | \n", 1688 | "0 | \n", 1689 | "0 | \n", 1690 | "1 | \n", 1691 | "0 | \n", 1692 | "1 | \n", 1693 | "0 | \n", 1694 | "0 | \n", 1695 | "0 | \n", 1696 | "0 | \n", 1697 | "
| 7028 | \n", 1700 | "0 | \n", 1701 | "103.20 | \n", 1702 | "7362.90 | \n", 1703 | "1 | \n", 1704 | "0 | \n", 1705 | "0 | \n", 1706 | "1 | \n", 1707 | "0 | \n", 1708 | "1 | \n", 1709 | "0 | \n", 1710 | "... | \n", 1711 | "0 | \n", 1712 | "1 | \n", 1713 | "0 | \n", 1714 | "0 | \n", 1715 | "0 | \n", 1716 | "0 | \n", 1717 | "0 | \n", 1718 | "0 | \n", 1719 | "0 | \n", 1720 | "1 | \n", 1721 | "
| 7029 | \n", 1724 | "0 | \n", 1725 | "29.60 | \n", 1726 | "346.45 | \n", 1727 | "1 | \n", 1728 | "0 | \n", 1729 | "0 | \n", 1730 | "1 | \n", 1731 | "0 | \n", 1732 | "1 | \n", 1733 | "1 | \n", 1734 | "... | \n", 1735 | "0 | \n", 1736 | "0 | \n", 1737 | "1 | \n", 1738 | "0 | \n", 1739 | "1 | \n", 1740 | "0 | \n", 1741 | "0 | \n", 1742 | "0 | \n", 1743 | "0 | \n", 1744 | "0 | \n", 1745 | "
| 7030 | \n", 1748 | "1 | \n", 1749 | "74.40 | \n", 1750 | "306.60 | \n", 1751 | "0 | \n", 1752 | "1 | \n", 1753 | "0 | \n", 1754 | "1 | \n", 1755 | "1 | \n", 1756 | "0 | \n", 1757 | "0 | \n", 1758 | "... | \n", 1759 | "0 | \n", 1760 | "0 | \n", 1761 | "0 | \n", 1762 | "1 | \n", 1763 | "1 | \n", 1764 | "0 | \n", 1765 | "0 | \n", 1766 | "0 | \n", 1767 | "0 | \n", 1768 | "0 | \n", 1769 | "
| 7031 | \n", 1772 | "0 | \n", 1773 | "105.65 | \n", 1774 | "6844.50 | \n", 1775 | "0 | \n", 1776 | "1 | \n", 1777 | "1 | \n", 1778 | "0 | \n", 1779 | "1 | \n", 1780 | "0 | \n", 1781 | "0 | \n", 1782 | "... | \n", 1783 | "1 | \n", 1784 | "0 | \n", 1785 | "0 | \n", 1786 | "0 | \n", 1787 | "0 | \n", 1788 | "0 | \n", 1789 | "0 | \n", 1790 | "0 | \n", 1791 | "0 | \n", 1792 | "1 | \n", 1793 | "
7032 rows × 50 columns
\n", 1797 | "