Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -220,13 +220,13 @@ def compute_stats(devoir):
|
|
| 220 |
max_v = sub["note"].max()
|
| 221 |
|
| 222 |
stats = (
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
|
| 231 |
# ✅ classement : colonnes 'eleve' et 'note'
|
| 232 |
classement = sub[["eleve", "note"]].copy()
|
|
|
|
| 220 |
max_v = sub["note"].max()
|
| 221 |
|
| 222 |
stats = (
|
| 223 |
+
f"Devoir : {devoir}\n"
|
| 224 |
+
f"Nombre d'élèves : {n}\n"
|
| 225 |
+
f"Moyenne : {mean:.2f}\n"
|
| 226 |
+
f"Écart-type : {std:.2f}\n"
|
| 227 |
+
f"Minimum : {min_v:.2f}\n"
|
| 228 |
+
f"Maximum : {max_v:.2f}")
|
| 229 |
+
|
| 230 |
|
| 231 |
# ✅ classement : colonnes 'eleve' et 'note'
|
| 232 |
classement = sub[["eleve", "note"]].copy()
|