I want to be able to take out one value in the table and reference it somewhere else in my code but I can only get the print statement to print a column.
Animals.csv {
Animal, Name, Age
Dog, Albert, 2
Cat, John, 8
Monkey, Ege, 3
}
Here is my code:
import pandas as pd
data = pd.read_csv("Animals.csv")
print(data["Monkey"]["Name"])
and it should print out Ege (the content of cell, instead of a full column, with index)