Queer European MD passionate about IT
소스 검색

Fix https://app.asana.com/0/1109607871564464/1172722244320086/f

bruno 4 년 전
부모
커밋
6e7d0e89d7
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Mission210Solution.ipynb

+ 1 - 0
Mission210Solution.ipynb

@@ -250,6 +250,7 @@
     "def normalize_text(text):\n",
     "    text = text.lower()\n",
     "    text = re.sub(\"[^A-Za-z0-9\\s]\", \"\", text)\n",
+    "    text = re.sub(\"\\s+\", \" \", text)\n",
     "    return text\n",
     "\n",
     "def normalize_values(text):\n",