Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,11 +76,10 @@ def process_admissions(file_path, capacity=120):
|
|
| 76 |
|
| 77 |
# Combine admitted and remaining students
|
| 78 |
final_df = pd.concat([admitted_df, remaining_df]).reset_index(drop=True)
|
| 79 |
-
|
| 80 |
print("Final Student List with Admission Status:")
|
| 81 |
-
|
| 82 |
print("\nFinal Student List Info:")
|
| 83 |
-
|
| 84 |
|
| 85 |
|
| 86 |
# Save the processed DataFrame to a temporary CSV file
|
|
|
|
| 76 |
|
| 77 |
# Combine admitted and remaining students
|
| 78 |
final_df = pd.concat([admitted_df, remaining_df]).reset_index(drop=True)
|
|
|
|
| 79 |
print("Final Student List with Admission Status:")
|
| 80 |
+
print(final_df.head()) # 用 print 輸出前幾列
|
| 81 |
print("\nFinal Student List Info:")
|
| 82 |
+
print(final_df.info()) # 仍然可以看 info,用 print 包住就好
|
| 83 |
|
| 84 |
|
| 85 |
# Save the processed DataFrame to a temporary CSV file
|