Data Integration

We combine data from different sources to get a unified structure with more meaningful and valuable information. 

This is mostly used if the data is segregated into different sources. 

To make it simple, let's assume we have data in CSV format in different places, all talking about the same scenario. Say we have some data about an employee in a database. 

We can't expect all the data about the employee to reside in the same table. It's possible that the employee's personal data will be located in one table, the employee's project history will be in a second table, the employee's time-in and time-out details will be in another table, and so on. 

So, if we want to do some analysis about the employee, we need to get all the employee data in one common place. This process of bringing data together in one place is called data integration. 

To do data integration, we can merge multiple pandas DataFrames using the merge function. 

Here is an example of how we merge data from multiple datasets.