I am trying to read a CSV file with the read_csv method. The column item_number needs to be read as a list.
Example : 'item_number' : ['123456']
df = pd.read_csv(filepath, sep =',', dtype = {'item_number' = list})
dtype = {'item_number' = list} ->does not work, while when I write it as dtype = {'item_number' = str} , it does work. Tried using converters but want to do it with dtype.