We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdac474 commit 06387b4Copy full SHA for 06387b4
useful_scripts/large_csv_to_sqlite.py
@@ -28,7 +28,7 @@
28
cnx = sqlite3.connect(out_sqlite)
29
30
# Iteratively read CSV and dump lines into the SQLite table
31
-for i in range(0, nlines, chunksize):
+for i in range(0, nlines, chunksize): # change 0 -> 1 if your csv file contains a column header
32
33
df = pd.read_csv(in_csv,
34
header=None, # no header, define column header manually later
0 commit comments