代码:
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')
2023-12-11 07:57:27
代码:
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')