I have a csv Excel data set which is related to Some Coivid-19 stats organised with headings and values under for example number of covid
related deaths and the numbers under. The goal is to get the values and then calculate the averages of the columns.
The query is how can I open the csv file from Python thonny and calculate the averages of the columns. without using "Import csv" or any other modules such as panda.
this is what I have got so far.
with open(r'C:\Users\Kaoma Kabange\Documents\CITS1401\LAB0\Covid-data-for-project_1_sample (1).csv','r') as f:
f_contents = f.read()
print(f_contents)
I have searched everywhere to find a solution, but most YouTube video's i watch used import csv,panda or other modules. just looking to be pointed in the right direction :)!
this link below is an example of the data set.