I have a CSV file, here is a sample of what it looks like:
Year: Dec: Jan: 1 50 60 2 25 50 3 30 30 4 40 20 5 10 10
One can do it using pandas library.
pandas
Example:
import numpy as np import pandas as pd file = r"C:\Users\unknown\Documents\Example.csv" df1 = pd.read_csv(file) df1.head()