📜  数据框在多列中 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:07.736000             🧑  作者: Mango

代码示例1
pd.merge(df2, df1, how='inner')
#         col1  col2
# 0      pizza   boy
# 1      pizza  girls
# 2  ice cream   boy