我有多个pandas数据框对象cost1,cost2,cost3 ....
如何将所有这些数据框中的行追加到一个数据框中,同时仅保留公共列名称中的元素?
截至目前我有
帧= [COST1,cost2,COST3 ...]
new_combined = pd.concat(frames,ignore_index = True)
这显然包含在所有数据帧中不常见的列.
python dataframe pandas
dataframe ×1
pandas ×1
python ×1