arrays must all be same length

try:
    pd.DataFrame(output_data).to_csv(output_path, index=False)
except Exception as exp:
    print("exp=",exp)

arrays must all be same length

将country_code 中的符号-去除后貌似没有该问题了

你可能感兴趣的:(pandas)