Guest User

Untitled

a guest
Jan 17th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. def clean_phone_number(tel_no):
  2. for row in test_data:
  3. row = re.sub('[^?0-9+]+', '', row)
  4. return(row)
  5.  
  6. phone_test_result = phone_test['TEL_NUMBER'].apply(lambda x: clean_phone_number(x))
Add Comment
Please, Sign In to add comment