1/8
Flashcards covering key Pandas methods related to DataFrames, including how to manipulate and merge data.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
drop()
Method used to remove specified labels from rows or columns.
drop_duplicates()
Method that removes duplicate rows from a DataFrame based on specified column(s).
dropna()
Method used to remove rows or columns that contain missing values.
sort_values()
Method to sort DataFrame by the values of a specified column.
merge()
Method for merging two DataFrames on a specified key.
inner join
A type of join that returns only the rows where there are matches in both DataFrames.
left join
A type of join that returns all rows from the left DataFrame and matched rows from the right DataFrame.
right join
A type of join that returns all rows from the right DataFrame and matched rows from the left DataFrame.
outer join
A type of join that returns all rows when there is a match in either left or right DataFrame.