diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2023-10-15 22:26:56 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2023-10-15 22:26:56 -0400 |
commit | 66313af233f390f42dafc0d10dee3df07760ea95 (patch) | |
tree | 1f9d2a17ac76064e03ec9eb657afaf06651dc499 | |
parent | 85183a69301354079549eb4197da08bd115ef8fd (diff) | |
download | GradeBook-66313af233f390f42dafc0d10dee3df07760ea95.tar.gz GradeBook-66313af233f390f42dafc0d10dee3df07760ea95.zip |
remove index from table saving to csv
-rwxr-xr-x | regenTheExpertTA.py | 2 | ||||
-rwxr-xr-x | regenWebAssign.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/regenTheExpertTA.py b/regenTheExpertTA.py index 81ea437..e521a0a 100755 --- a/regenTheExpertTA.py +++ b/regenTheExpertTA.py @@ -81,7 +81,7 @@ for c in d.columns: -d.to_csv('TheExperTA.csv') +d.to_csv('TheExperTA.csv', index=False) # now import to sqlite3 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 |