简体   繁体   English

从 python 中的 csv 文件中提取数据

[英]Extract data from csv file in python

I have a testbench that calculates the execution time of an image processing algorithm like convolution for example.我有一个测试平台,可以计算图像处理算法(例如卷积)的执行时间。 The testbench is made so that the computed data are filled in a CSV file in this way: "algorithm" "filter size" "image resolution" "execution time":制作测试台,以便计算数据以这种方式填充到 CSV 文件中:“算法”“过滤器大小”“图像分辨率”“执行时间”:

CONV_2D 7 87400 7000 7003 6099 ...


CONV_2D 7 114400 7035 7032 7034 ...

There is 500 execution time calculated per aglorithm.每个算法计算 500 个执行时间。 How can I just extract the execution time from the CSV file to calculate the mean, the variance and to plot the execution time as a function of the image size in python please? How can I just extract the execution time from the CSV file to calculate the mean, the variance and to plot the execution time as a function of the image size in python please? Thank you谢谢

I have a testbench that calculates the execution time of an image processing algorithm like convolution for example.我有一个测试平台,可以计算图像处理算法(例如卷积)的执行时间。 The testbench is made so that the computed data are filled in a CSV file in this way: "algorithm" "filter size" "image resolution" "execution time":制作测试台,以便计算数据以这种方式填充到 CSV 文件中:“算法”“过滤器大小”“图像分辨率”“执行时间”:

CONV_2D 7 87400 7000 7003 6099 ...


CONV_2D 7 114400 7035 7032 7034 ...

There is 500 execution time calculated per aglorithm.每个算法计算 500 个执行时间。 How can I just extract the execution time from the CSV file to calculate the mean, the variance and to plot the execution time as a function of the image size in python please? How can I just extract the execution time from the CSV file to calculate the mean, the variance and to plot the execution time as a function of the image size in python please? Thank you谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM