You’ve now learned two of the most important techniques for combining data in pandas:
merge()
for combining data on common columns or indicesconcat()
for combining DataFrames across rows or columns
In addition to learning how to use these techniques, you also learned about set logic by experimenting with the different ways to join your datasets. Additionally, you learned about the most common parameters to each of the above techniques, and what arguments you can pass to customize their output.
To learn more about the concepts covered in this course, you can check out:
- Combining Data in Pandas With merge(), .join(), and concat()
- pandas GroupBy: Your Guide to Grouping Data in Python
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.