---------------------------------------------------------------------------
InvalidTextRepresentation Traceback (most recent call last)
<ipython-input-15-647373ae7118> in <module>
28
29 csv = os.path.join('..', config['files']['datapath'], config['files'][table])
---> 30 copy_progress(csv, table) #runs copy_from using a tdqm progress bar
<ipython-input-12-ae2dba2b7e6d> in copy_progress(csv, table)
57
58 pfile = ProgressFile(pbar, csv, 'r') #create a ProgressFile for showing progress
---> 59 cursor.copy_from(pfile, table, null="NULL")
60
61 #close the objects
InvalidTextRepresentation: invalid input syntax for integer: "1,1,1,IC,0,,0,2010-2016,96120000,26,15,Man,60-69,,70-79,Anamnestisch,170-179,Anamnestisch,Cardiochirurgie"
CONTEXT: COPY admissions, line 1, column patientid: "1,1,1,IC,0,,0,2010-2016,96120000,26,15,Man,60-69,,70-79,Anamnestisch,170-179,Anamnestisch,Cardiochir..."