Import participants' wristband info.
parent
578f5ed5f3
commit
cf3801b120
|
@ -1,4 +1,5 @@
|
|||
import datetime
|
||||
import pandas as pd
|
||||
|
||||
import participants.query_db
|
||||
|
||||
|
@ -11,4 +12,16 @@ participants_inactive_usernames = participants.query_db.get_usernames(
|
|||
last_upload=datetime.date.fromisoformat("2021-09-01"),
|
||||
)
|
||||
|
||||
print(participants_inactive_usernames.__len__())
|
||||
participants_overview_si = pd.read_csv(
|
||||
"E:/STRAWbaseline/Participants_overview_Slovenia.csv", sep=";"
|
||||
)
|
||||
participants_overview_be = pd.read_csv(
|
||||
"E:/STRAWbaseline/Participants_overview_Belgium.csv", sep=";"
|
||||
)
|
||||
|
||||
participants_true_si = participants_overview_si[
|
||||
participants_overview_si["Wristband_SerialNo"] != "DECLINED"
|
||||
]
|
||||
participants_true_be = participants_overview_be[
|
||||
participants_overview_be["SmartphoneBrand+Generation"].str.slice(0, 3) != "Not"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue