I have an Excel file(that I am exporting as a csv) that I want to parse, but I am having trouble with finding the best way to do it. The csv is a list of computers in my net
It can be done using the pandas library.
import pandas as pd df = pd.read_csv(filename) list_of_lists = df.values.tolist()
This approach applies to other kinds of data like .tsv, etc.