如果dataframe 1 column == dataframe 2 column,则在df2中打印colum2。
dataframe1
ColumnA
john
mike
rose
lilly
duke
harry
数据框2
column A ColumnB
john aus
jonson swiss
jerry ireland
tom europe
nik england
jullie london
mike newjersy
suppy china
rose japan
peter newyork
lilly london
duke us
harry uk
输出应为
如果Dataframe1中的列A == datframe 2中的列A,则在dataframe1中打印columnB 所需的输出应为 dataframe1
ColumnA columnB
john aus
mike newjersy
rose japan
lilly london
duke us
harry uk
有人可以帮助我吗?