Skip to content

Commit

Permalink
Reorder columns, again
Browse files Browse the repository at this point in the history
Put region again as last column after
f9e543d
  • Loading branch information
stefanb committed Sep 4, 2023
1 parent 2304c15 commit 5966c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update_sewage_opsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ def update_sewage_genome(update_time):
df_opsi.columns = [
'sewage.date',
'sewage.station',
'sewage.region',
'sewage.genome',
'sewage.ratio']
'sewage.ratio',
'sewage.region']
df_opsi = df_opsi[['sewage.date', 'sewage.station', 'sewage.genome', 'sewage.ratio', 'sewage.region']] # reorder columns for readable diffs
df_opsi['sewage.station'] = df_opsi['sewage.station'].apply(underscore_to_space)
df_opsi['sewage.region'] = df_opsi['sewage.region'].apply(convert_region)
Expand Down

0 comments on commit 5966c28

Please sign in to comment.