Skip to content

Ariefah Shalihah

  • Home
  • About

How to remove duplicates from a list in Python

Use set()

Use dict.fromkeys()



how-to-remove-duplicates-from-a-list-in-python

Categories PYTHON
Post navigation
How to remove an object from an array in Python
How to remove duplicates in a column of a pandas DataFrame using another column as a tiebreaker in Python

Recent Posts

  • How asynchronously call methods in Python
  • How get a function name as a string in Python
  • How pretty print a JSON file in Python
ariefahshalihah