concat函数
pd.concat([df1,df2],axis = 0)#上下堆叠的合并
pd.concat([df1,df2],axis = 1)#左右拼接的合并
df.join
df1.join(df2)#左右拼接的合并
df.append
df1.append(df2)#上下堆叠的合并
pd.merge
pd.merge(df1,df2,left_index=True,right_index=True)#按索引左右拼接的合并
groupby函数
df.groupby('Q1')#按Q1列中的各字段对DataFrame进行分组,生成一个分组器对象