我是交叉表的新手。我在Jupyther笔记本中创建了3个数据帧(df_1,df_2,df_3):
df_1
person ID, date, price, location, code
542, 12/04/12, $2.5, 66234, 103
df_2
Brand, region, location
AA, Texas, 66234
BB, SF, 15467
df_3
person ID, First, Last, Region
542, Tom, Barker, Texas
我需要组合这些数据帧以得到如下内容:
Brand, code, Texas, SF
AA, 103, $2.5, $3.8
知道我应该从哪里开始吗?