How do I find and remove duplicate rows in pandas?
During the data cleaning process, you will often need to figure out whether you have duplicate data, and if so, how to deal with it. In this video, I'll demonstrate the two key methods for finding and removing duplicate rows, as well as how to modify their behavior to suit your specific needs.
SUBSCRIBE to learn data science with Python:
https://www.youtube.com/dataschool?sub_confirmation=1
JOIN the "Data School Insiders" community and receive exclusive rewards:
https://www.patreon.com/dataschool
== RESOURCES ==
GitHub repository for the series: https://github.com/justmarkham/pandas-videos
"duplicated" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.duplicated.html
"drop_duplicates" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.drop_duplicates.html
== LET'S CONNECT! ==
Newsletter: https://www.dataschool.io/subscribe/
Twitter: https://twitter.com/justmarkham
Facebook: https://www.facebook.com/DataScienceSchool/
LinkedIn: https://www.linkedin.com/in/justmarkham/
Видео How do I find and remove duplicate rows in pandas? канала Data School
SUBSCRIBE to learn data science with Python:
https://www.youtube.com/dataschool?sub_confirmation=1
JOIN the "Data School Insiders" community and receive exclusive rewards:
https://www.patreon.com/dataschool
== RESOURCES ==
GitHub repository for the series: https://github.com/justmarkham/pandas-videos
"duplicated" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.duplicated.html
"drop_duplicates" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.drop_duplicates.html
== LET'S CONNECT! ==
Newsletter: https://www.dataschool.io/subscribe/
Twitter: https://twitter.com/justmarkham
Facebook: https://www.facebook.com/DataScienceSchool/
LinkedIn: https://www.linkedin.com/in/justmarkham/
Видео How do I find and remove duplicate rows in pandas? канала Data School
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
How do I apply a function to a pandas Series or DataFrame?How do I merge DataFrames in pandas?My top 25 pandas tricksReplace Excel Vlookup with Python - Five Minute Python ScriptsHow do I handle missing values in pandas?How do I filter rows of a pandas DataFrame by column value?How do I select multiple rows and columns from a pandas DataFrame?How do I create dummy variables in pandas?Daniel Chen: Cleaning and Tidying Data in Pandas | PyData DC 2018Python Pandas Tutorial 19 | How to Identify and Drop Duplicate Values | Removing duplicate valuesPython Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data4 new time-saving tricks in pandasComplete Python Pandas Data Science Tutorial! (Reading CSV/Excel files, Sorting, Filtering, Groupby)How do I make my pandas DataFrame smaller and faster?Python Pandas Tutorial (Part 5): Updating Rows and Columns - Modifying Data Within DataFramesHow do I use the MultiIndex in pandas?How do I avoid a SettingWithCopyWarning in pandas?When should I use a "groupby" in pandas?How to Remove Duplicate Rows in Pandas Dataframe? | GeeksforGeeks