I have a csv file like (Excel Review):
How to handle the commas in the column B, if I want to read this data as csv in Python?
def import_csv():
with open('file.csv', encoding="ISO-8859-1") as csvfile:
reader = csv.DictReader(csvfile,delimiter=",")
for row in reader:
faelle.append(row)
In this case, If I take as delimiter the "," then the column B will be splited in more columns and this will be not fit for the data.
How can I now read the csv with the delimter "," and keep the column B as one in a pythonic way? So without an intervention/manipulation in the CSV.
In theory, it was declared under this post: Dealing with commas in a CSV file