# coding: utf-8 import pandas as pd import numpy as np df_obj1 = pd.DataFrame( { 'key':['a','b','a','c','b','a','a'], 'data1':np.random.randint(0,10,7) } ) print df_obj1 df_obj2 = pd.DataFrame( { 'key':['b','a','d'],
Pandas数据合并merge
最新推荐文章于 2024-07-18 19:56:51 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)