代码:
import pandas as pd data = pd.read_csv("./test.csv", error_bad_lines=False, encoding="utf-8")
data = data.loc[:, ["Topology","Batch Size","KPI","FP32"]]
保存数据
data.to_csv('test.csv', index=False, encoding='utf-8')
代码:
import pandas as pd data = pd.read_csv("./test.csv", error_bad_lines=False, encoding="utf-8")
data = data.loc[:, ["Topology","Batch Size","KPI","FP32"]]
保存数据
data.to_csv('test.csv', index=False, encoding='utf-8')