Week 5 • Friday

Block 49: Data Merging from Multiple Sources

Combine data from CSV, JSON, and Excel into one unified DataFrame.

Concepts

Code Examples

See exercise below.

Exercise

Load the same dataset stored as CSV, JSON, and Excel. Merge all three and verify no duplicates. Write a function load_and_merge(file_list) that handles CSV, JSON, and Excel automatically.

Homework

What real-world problems arise when merging data from multiple sources? List 3 and how to handle them.