So erhalten Sie eine CSV -Säule in Python

import csv
from collections import defaultdict

columns = defaultdict(list)
 
with open("test.csv") as f:
    reader = csv.reader(f)
    
    for row in reader:
        for (i,v) in enumerate(row):
            columns[i].append(v)
print(columns[0])
FriedOxygen