Skip to content

Commit 43af516

Browse files
comments added
1 parent d1f44ce commit 43af516

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

database_updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
cursor.execute(create_table_query)
5656
conn.commit()
5757

58-
58+
# Insert data into the table
5959
for index, row in df.iterrows():
6060
insert_query = f"INSERT INTO {table_name} ({', '.join(df.columns)}) VALUES ({', '.join(['?' for _ in row])})"
6161
cursor.execute(insert_query, tuple(row))

0 commit comments

Comments
 (0)