回答編集履歴
2
誤字の修正
test
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
|
50
50
|
|
51
|
-
|
51
|
+
student_df.to_csv('./hoge.csv')
|
52
52
|
|
53
53
|
```
|
54
54
|
|
1
誤字の修正
test
CHANGED
@@ -26,8 +26,6 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
# print(student_data)
|
30
|
-
|
31
29
|
student_grades = pd.concat([
|
32
30
|
|
33
31
|
pd.read_csv("gp_grades.csv", sep=";", index_col="student_id"),
|
@@ -46,7 +44,7 @@
|
|
46
44
|
|
47
45
|
student_df.loc[student_df['guardian'] == 'father', 'guardianedu'] = 'Fedu'
|
48
46
|
|
49
|
-
student_df.loc[student_df['guardian']
|
47
|
+
student_df.loc[student_df['guardian'] == 'other', 'guardianedu'] = 'other'
|
50
48
|
|
51
49
|
|
52
50
|
|