diff options
Diffstat (limited to 'regenWebAssign.py')
-rwxr-xr-x | regenWebAssign.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/regenWebAssign.py b/regenWebAssign.py index ca6ffd4..9030bb2 100755 --- a/regenWebAssign.py +++ b/regenWebAssign.py @@ -37,6 +37,10 @@ index = d[c] == 'NS' d[index] = np.nan d['UserName'].replace('@wm$', '', regex=True, inplace=True) d['UserName'].replace('@email.wm.edu$', '@wm.edu', regex=True, inplace=True) +# hand tuned fixes +d['UserName'].replace('phanng@hotmail.com@tj.va$', 'kphan@wm.edu', regex=True, inplace=True) +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') |