Concept

pd.merge()

how = ‘left’, ‘right’, ‘outer’, ‘inner’, ‘cross’

The former four are usually used. The concept of them are shown in the graph. Since cross join is difficult to be applied as the dataframe is big, it is seldom used.

Image 0

0

1

Updated 2021-02-05

Tags

Data Science

Related