Python is good with lists. As spreadsheet and relational databases are the two primary workhorses of many information systems, we have an abundance of data in tabular format. Since tables are just collection of lists, python works quite well with tabular data.
Here's some tabular data about cats and dogs.
We can store the data in a two dimensional array. I am skipping the header for this example.
To extract the names (the first entry of every row) and store them in an array we can use python's list comprehension as follows:
We can get fancy and choose some columns and make a list of tuples.
How about getting all the data of the heaviest animal?