pandas中删除行或列
pandas新建列或行
df[‘C’]=None
df[‘D’]=0
df['Col_sum'] = df.apply(lambda x: x.sum(), axis=1)
DataFrame.reindex()
pandas.concat()
DataFrame.append()
df[‘C’]=None
df[‘D’]=0
df['Col_sum'] = df.apply(lambda x: x.sum(), axis=1)
DataFrame.reindex()
pandas.concat()
DataFrame.append()