I have a .csv
file that is being saved from a MySQL Query on a Raspberry Pi, and I would like to simply output the sum of column_1
in an HTML output.
I would just like to output a sentence like, The sum of column_1 is: XXX , but I am unsure how to access the .csv file in my directory, find the sum of a specific column, and then output that sum.
Thanks for your help :)
请研发如何在Google中使用JavaScript读取.csv文件或参考stackoverflow 问题,然后您将确定如何从.csv文件在.html页面中提供输出。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.