Joining data
The join operation is used to merge entries from a data source to another using a common column as a key to pair the data correctly. The concept of joining is commonly seen in database technologies, in which we also see the different types of joins, such as inner join, outer join, left join, and right join. These joins are better represented in the following diagram:
When joining data, we must identify the key column for both dataframes. Let's look at an example:
df_a = op.create.dataframe({ Â Â Â Â "id": [143, 225, 545, 765, 152], Â Â Â Â "name": ["Alice", "Bob", "Charlie", "Dan", "Frank"] }) df_b = op.create.dataframe({ Â Â Â Â "id": [225, 545, 765, 152, 329], Â Â Â Â "city": ["Bradford", "Norwich", "Bath...