給試算表使用者的 pandas 合併實務
John Miller
Principal Data Scientist
$$
pd.concat() 可沿列或欄串接
$$
$$
pd.concat([df1, df2, ...])

$$
資料框索引可能重疊
別擔心!
pd.concat([df1, df2, ...],
ignore_index=True)

$$
pd.concat([df1, df2, ...],
axis=1)

給試算表使用者的 pandas 合併實務