I have a CSV file containing the following data. I want to convert this data into a Python dictionary. The column names should be the keys and rows should be the values of the dictionary. How can I do it?
A B C
1 11 111
2 22 222
3 33 333
4 44 444
5 55 555
to
{'A': [1, 2, 3, 4, 5], 'B': [11, 22, 33, 44, 55], 'C': [111, 222, 333, 444, 555]}