The combined data sets in Python concat function and difference function --merge

The combined data set

.Merge a function parameter table

 merge(left,right,how='inner',on=None,left_on=None,right_on=None,left_index=False,right_index=False,sort=False,suffixes=                          ('_x','_y'),copy=True,indicator=False,validate=None)

 

Two .concat function parameters table

Note: When the index has a duplicate, you can not use concat.

 

 

 

Guess you like

Origin www.cnblogs.com/guojiaxue/p/12560450.html