Spaces:
Running
Running
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -106,7 +106,7 @@ def process_dataframe(df):
|
|
| 106 |
new_df['S-Support'] = new_df['S-Frequency'] / num_student
|
| 107 |
|
| 108 |
# Calculate standard deviation of each row
|
| 109 |
-
new_df['I-Support (sd)'] = df.std(axis=1)
|
| 110 |
|
| 111 |
return new_df
|
| 112 |
|
|
|
|
| 106 |
new_df['S-Support'] = new_df['S-Frequency'] / num_student
|
| 107 |
|
| 108 |
# Calculate standard deviation of each row
|
| 109 |
+
new_df['I-Support (sd)'] = df.std(axis=1,skipna=True)
|
| 110 |
|
| 111 |
return new_df
|
| 112 |
|