I have a csv file containing two columns. I want to create 2 seperate arrays for each of the column in python. How do I proceed with doing that? Any suggestions would greatly help. i have attached a snippet of how my csv file looks like.

I have a csv file containing two columns. I want to create 2 seperate arrays for each of the column in python. How do I proceed with doing that? Any suggestions would greatly help. i have attached a snippet of how my csv file looks like.

To load the CSV file into two lists:
import csv
col1 = []
col2 = []
with open("your_file.csv", "r") as f_in:
reader = csv.reader(f_in)
next(reader) # skip headers
for line in reader:
col1.append(float(line[0]))
col2.append(float(line[1]))
print(col1)
print(col2)
Prints:
[-7.66e-06, -7.6e-06, -7.53e-06]
[17763.0, 2853.0, 3694.0]