摘要:
读取文件: df = pd.read_csv("test.csv") 报错: 文件直接修改后缀名为.csv ,用read_csv读取会报错,需要传一个参数:error_bad_lines=False 即可 df = pd.read_csv("ww45-clean.csv", error_bad_li 阅读全文
摘要:
代码: import pandas as pd data = pd.read_csv("./test.csv", error_bad_lines=False, encoding="utf-8") data = data.loc[:, ["Topology","Batch Size","KPI","F 阅读全文