I would like to build a Python program to sort to address a CSV file of banking transactions. I’d like to read the data into Python so that I have a bunch of individual transactions that I can process but I’m having trouble determining a good data type to use.
I’ve considered a list-of-lists and creating a transaction class. I think that a transaction class would be more elegant.
Does anyone have any suggestions as to what sort of data type would be appropriate?