Signed-off-by: Deepanshu Karnwal <deepanshu.k@hcl.com>
Change-Id: I34ef324b2f5deb68230d2654470d7136681d87dc
sample.index = range(len(sample))
for i in range(len(sample)):
if sample.iloc[i]['Anomaly'] == 1:
- query = 'select * from {} where {} = \'{}\' and time<now() and time>now()-20s'.format(db.meas, db.ue, sample.iloc[i][db.ue])
+ query = """select * from "{}" where {} = \'{}\' and time<now() and time>now()-20s""".format(db.meas, db.ue, sample.iloc[i][db.ue])
normal = db.query(query)
if normal:
normal = normal[db.meas][[db.thpt, db.rsrp, db.rsrq]]