Ok, I'm sufficiently confused and not making any progress at all. New to python, and using Pycharm/python 3
I have a text file saved on my desktop (Win 10). The file contains a name, a comma and a number.
e.g.
name1, number
name2, number
name3, number
name4, number
(etc)
The names are all different, and the numbers are not ordered, and some are the same and some are not.
The numbers are integers, and all I'm trying to do is make a bar chart plot. The names along the x-axis and the numbers (in descending order) for the y-axis.
I have tried and tried and tried and tried and I cannot get this to work.
I can manage to access the file, but can't do anything with it. I can get the output I want, but I can't access it. I can get bits and pieces but I can't put it together. I know this is probably an easy thing, but nothing makes sense, and nothing seems to work anymore, and could use a hand.
How do you do this?
Thank you