Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. title description
  2. 0 mmm mmm
  3. 1 mmm mmm
  4. 2 mmm mmm
  5. 3 mmm mmm
  6. 4 mmm mmm
  7. 5 mmm mmm
  8. 6 mmm mmm
  9. 7 nnn nnn
  10. 8 nnn nnn
  11. 9 lll lll
  12. 10 jjj jjj
  13.  
  14. import pandas as pd
  15. df = pd.DataFrame({"title":["mmm", "mmm", "mmm", "mmm", "mmm", "mmm", "mmm", "nnn", "nnn", "lll", "jjj"], "description":["mmm", "mmm", "mmm", "mmm", "mmm", "mmm", "mmm", "nnn", "nnn", "lll", "jjj"]})
  16. df.drop_duplicates()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement