Created
May 25, 2022 17:08
-
-
Save srang992/cde573e67cf4775523d31c51d29dcd13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# selecting the necessary columns from the dataframe | |
query = """SELECT complains, charge_amount, seconds_of_use, | |
frequency_of_use, frequency_of_sms, age_group, customer_value, churn | |
FROM customer_churn""" | |
tel_data = pd.read_sql(query, conn) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment