Skip to content

Instantly share code, notes, and snippets.

@dradecic dradecic/art7_lambdas.py

Last active Sep 14, 2019
Embed
What would you like to do?
art7_lambdas
phone_numbers = [
'500/718/2129',
'487/293/3939',
'532/321/9999'
]
df = pd.DataFrame(data={ 'Phone_Numbers': phone_numbers })
df['Phone_Numbers'].apply(lambda x: x.replace('/', '-'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.