Change fieldnames of a csv.DictReader in Python
I have a CSV file as follows.
I’m trying to convert the data from a csv file into a dictionary without imports, but it dosen’t seem to be working
Im trying to get the data of the csvfile into a dictionary but it seems that its not reading the csv file correctly. Is there a problem with my code or is there something wrong with the csv file ?