示例:两个excel表格如下:
现要将上面两个表格合并如下:
代码:
import pandas as pd
import os
#文件路径
file_dir1 = 'xxx1.xls'
file_dir2 = 'xxx2.xls'
#构建新的表格名称
new_filename = 'xxx3'
new_list
示例:两个excel表格如下:
现要将上面两个表格合并如下:
代码:
import pandas as pd
import os
#文件路径
file_dir1 = 'xxx1.xls'
file_dir2 = 'xxx2.xls'
#构建新的表格名称
new_filename = 'xxx3'
new_list