Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# transform the column TotalCharges into a numeric data type
df_telco['TotalCharges'] = pd.to_numeric(df_telco['TotalCharges'], errors='coerce')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment