[Solution found!] 您可以合并sub-DataFrame(仅包含那些列): df2[list('xab')] # df2 but only with columns x, a, and b df1.merge(df2[list('xab')])
確定! 回上一頁