diff --git a/notebooks/src/temporal_overlap_anomalycheck.ipynb b/notebooks/src/temporal_overlap_anomalycheck.ipynb index 1afdb54a0d..7882ba1a8c 100644 --- a/notebooks/src/temporal_overlap_anomalycheck.ipynb +++ b/notebooks/src/temporal_overlap_anomalycheck.ipynb @@ -142,7 +142,7 @@ "\n", " table = metadata.tables['carpool_v2.status']\n", " \n", - " where_clause = table.c.carpool_id.in_(df_final_result['_id'].to_list())\n", + " where_clause = table.c.carpool_id.in_(df_labels['_id'].to_list())\n", "\n", " update_stmt = sa.update(table).where(where_clause).values(anomaly_status='failed')\n", "\n",