Update data_processor.py
Browse files- data_processor.py +1 -1
data_processor.py
CHANGED
@@ -336,7 +336,7 @@ class DataProcessor:
|
|
336 |
not_engaged_pct = round(not_engaged_pct)
|
337 |
|
338 |
absent_pct = (engagement_counts['Absent'] / total_sessions * 100) if total_sessions > 0 else 0
|
339 |
-
|
340 |
|
341 |
# Determine if the student attended ≥ 90% of sessions
|
342 |
attended_90 = "Yes" if attendance_pct >= 90 else "No"
|
|
|
336 |
not_engaged_pct = round(not_engaged_pct)
|
337 |
|
338 |
absent_pct = (engagement_counts['Absent'] / total_sessions * 100) if total_sessions > 0 else 0
|
339 |
+
absent_pct = round(absent_pct)
|
340 |
|
341 |
# Determine if the student attended ≥ 90% of sessions
|
342 |
attended_90 = "Yes" if attendance_pct >= 90 else "No"
|