Sep-29-2018, 12:08 PM
(This post was last modified: Sep-29-2018, 12:09 PM by gruntfutuk.)
You could represent a table as a list of lists, or a dictionary of lists, or a numpy matrix, or a dataframe in pandas, or a class, or ... well, lots of options really. It depends on what you are trying to do and the source of the data you are dealing with.
I see you picked a dictionary. Keep in mind that the keys in a dictionary must be unique, so you cannot repeat rows/columns.
I see you picked a dictionary. Keep in mind that the keys in a dictionary must be unique, so you cannot repeat rows/columns.
I am trying to help you, really, even if it doesn't always seem that way