forked from ScoDoc/DocScoDoc
cube vide
This commit is contained in:
parent
75b13ed9f7
commit
a65e9f9e08
@ -121,6 +121,8 @@ def notes_sem_assemble_cube(modimpls_notes: list[pd.DataFrame]) -> np.ndarray:
|
||||
(DataFrames rendus par compute_module_moy, (etud x UE))
|
||||
Resultat: ndarray (etud x module x UE)
|
||||
"""
|
||||
if len(modimpls_notes) == 0:
|
||||
return np.zeros((0, 0, 0), dtype=float)
|
||||
modimpls_notes_arr = [df.values for df in modimpls_notes]
|
||||
modimpls_notes = np.stack(modimpls_notes_arr)
|
||||
# passe de (mod x etud x ue) à (etud x mod x UE)
|
||||
|
Loading…
Reference in New Issue
Block a user