Skip to content

Commit b75439a

Browse files
authored
Merge pull request #156 from nealyoun/nayo_dataAnalysis
함수 및 주석 수정
2 parents 2233fbf + ef704e8 commit b75439a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dataAnalysis/notebook/json_to_dataframe.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
" '''\n",
4545
" unicodedata.normalize() 함수는 문자열에 있는 유니코드 문자를 \n",
4646
" NFKC형식(문자열을 표준 호환성(KC) 형식으로 정규화)으로 정규화합니다.\n",
47-
" problem_name, problem_type, company_name 컬럼의 값 중 같은 값을 \n",
48-
" 파이썬에서 다르게 인식하는 문제를 해결합니다.\n",
47+
" 컬럼의 값 중 같은 값을 파이썬에서 다르게 인식하는 문제를 해결합니다.\n",
4948
" \n",
5049
" Args:\n",
5150
" data : (DataFrame | Series)\n",
@@ -204,7 +203,7 @@
204203
" for index_key, ptype in itertools.product(index_dict.keys(), ptype_list):\n",
205204
" if (ptype in index_key) or (index_key in ptype) :\n",
206205
" for i in index_dict[index_key]:\n",
207-
" # df[\"problem_type\"][i] = ptype--------------------------------------------------------------------------------------------------------------------------\n",
206+
" # df[\"problem_type\"][i] = ptype\n",
208207
" df.loc[i, \"problem_type\"] = ptype\n",
209208
" \n",
210209
" df.loc[df[\"function_method\"] == 0, \"function_method\"] = df.loc[df[\"function_method\"] == 0, \"function_method\"].apply(lambda x: str(x).replace(\"0\", \"FunctionNotUsed\")) # module 혹은 method를 사용하지 않은 경우 \"None\" 으로 대체\n",

0 commit comments

Comments
 (0)