Pandas玩转数据(四) -- DataFrame的merge
import pandas as pdimport numpy as npfrom pandas import Series, DataFramedf1 = DataFrame({'key':['X','Y','Z'], 'data_set_1':[1,2,3]})df1Out[5]: data_set_1 key0 1 X1 ...