Data Frames are a table index based system that organises data into 2 dimensions. With this code you can take advantage of this, or use pandas instead, to quickly modify, update, change or delete data.
If you cannot use external libraries this will suite you well.