Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- filename = "enter your filename here"
- new_filename = ""
- tmp = pd.read_csv(filename)
- print tmp.drop_duplicates('Prefix')
- print tmp
- tmp = tmp.drop_duplicates('Prefix')
- tmp.to_csv(filename)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement