Skip to content

Commit 98bcf5a

Browse files
committed
use low memory
1 parent 69ddd07 commit 98bcf5a

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

csv2sqlite.ipynb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
" return sql\n",
6464
" \n",
6565
"def get_data(file_path):\n",
66-
" df = pd.read_csv(file_path)\n",
66+
" df = pd.read_csv(file_path, low_memory=False)\n",
6767
" return df\n",
6868
" \n",
6969
"def get_csv_files(dir_path):\n",
@@ -375,7 +375,7 @@
375375
],
376376
"metadata": {
377377
"kernelspec": {
378-
"display_name": "Python 3 (ipykernel)",
378+
"display_name": "Python 3",
379379
"language": "python",
380380
"name": "python3"
381381
},
@@ -389,7 +389,14 @@
389389
"name": "python",
390390
"nbconvert_exporter": "python",
391391
"pygments_lexer": "ipython3",
392-
"version": "3.9.7"
392+
"version": "3.8.5"
393+
},
394+
"widgets": {
395+
"application/vnd.jupyter.widget-state+json": {
396+
"state": {},
397+
"version_major": 2,
398+
"version_minor": 0
399+
}
393400
}
394401
},
395402
"nbformat": 4,

0 commit comments

Comments
 (0)