Continued...
In case you were wondering what I asked the PyCharm AI, and what was said by the AI, I show this with the next 2 images.
After coping and pasting the AI written program, on a New Scratch File selected in PyCharm and updating the CSV file directory path, the program worked the first time around...
As I said before, this python program still needs a lot more work, but I was amazed that it worked the first time around when tested.