【发布时间】:2018-01-19 11:58:43
【问题描述】:
我有 2 张桌子:
第一张桌子
Course Price
English $250
Chinese $300
Math $500
第二张桌子:
Name Course
Vivian English
Vivian Math
Shar Math
Nick Math
Tan Chinese
我希望有一个代码来获取这样的表,第二个表中的价格列实际上是指表一:
Name Course Price($)
Vivian English 250
Vivian Math 500
Shar Math 500
Nick Math 500
Tan Chinese 300
【问题讨论】:
-
你要使用pandas合并功能