From 66313af233f390f42dafc0d10dee3df07760ea95 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sun, 15 Oct 2023 22:26:56 -0400 Subject: remove index from table saving to csv --- regenWebAssign.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regenWebAssign.py') diff --git a/regenWebAssign.py b/regenWebAssign.py index 9030bb2..007dc2d 100755 --- a/regenWebAssign.py +++ b/regenWebAssign.py @@ -42,7 +42,7 @@ d['UserName'].replace('phanng@hotmail.com@tj.va$', 'kphan@wm.edu', regex=True, i d['UserName'].replace('chipkd2001@gmail.com$', 'ckdangerio@wm.edu', regex=True, inplace=True) d['UserName'].replace('eliasarivera@live.com@schs.va$', 'earivera@wm.edu', regex=True, inplace=True) -d.to_csv('WebAssign.csv') +d.to_csv('WebAssign.csv', index=False) # now import to sqlite3 -- cgit v1.2.3