Skip to content

Instantly share code, notes, and snippets.

@amandaiglesiasmoreno
Created November 22, 2021 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amandaiglesiasmoreno/a9e0c8d857ab4c1face68b1c79d99d77 to your computer and use it in GitHub Desktop.
Save amandaiglesiasmoreno/a9e0c8d857ab4c1face68b1c79d99d77 to your computer and use it in GitHub Desktop.
# remove (automatic) from payment method names
df_telco['PaymentMethod'] = df_telco['PaymentMethod'].str.replace(' (automatic)', '', regex=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment