Skip to content

Instantly share code, notes, and snippets.

@FelixChop
Created August 8, 2018 08:18
Show Gist options
  • Select an option

  • Save FelixChop/42f065b0e74b688af0d5494c0311b662 to your computer and use it in GitHub Desktop.

Select an option

Save FelixChop/42f065b0e74b688af0d5494c0311b662 to your computer and use it in GitHub Desktop.
import pandas as pd
df = pd.DataFrame({'ID':[1,2,3,4,5,6],
'First Name':['Felix', 'Jean', 'James', 'Daphne', 'James', 'Peter'],
'Family Name': ['Revert', 'Durand', 'Wright', 'Hull', 'Conrad', 'Donovan'],
'Phone number': ['+33 6 12 34 56 78', '+33 7 00 00 00 00', '+33 6 12 34 56 78', '+33 6 99 99 99 99', '+852 0123 4567', '+852 0123 4567'],
'Email': ['felix.revert@gmail.com', 'jean.durand@gmail.com', 'j.custom@gmail.com', pd.np.nan, 'j.custom@gmail.com', pd.np.nan]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment