delete debug print lines

parent 9d665c57
...@@ -562,8 +562,6 @@ ...@@ -562,8 +562,6 @@
" if currentLine.startswith(\" \"):\n", " if currentLine.startswith(\" \"):\n",
" # La ligne commence avec un espace, elle déclare donc l'auteur d'une réplique\n", " # La ligne commence avec un espace, elle déclare donc l'auteur d'une réplique\n",
" # on va parcourir la liste des protagonistes de la scène et identifier l'auteur\n", " # on va parcourir la liste des protagonistes de la scène et identifier l'auteur\n",
" if actNum==4 and sceneNum==7:\n",
" print(\"persosList : {}\".format(scenePersoList))\n",
" for perso in scenePersoList:\n", " for perso in scenePersoList:\n",
" # On fait une recherche ignorant si les lettres sont en majuscules ou minuscules\n", " # On fait une recherche ignorant si les lettres sont en majuscules ou minuscules\n",
" # grâce à l'option passée à la fonction de recherche d'expression régulière\n", " # grâce à l'option passée à la fonction de recherche d'expression régulière\n",
...@@ -655,7 +653,6 @@ ...@@ -655,7 +653,6 @@
" else:\n", " else:\n",
" # La ligne est vide on sait que c'est le cas particulier\n", " # La ligne est vide on sait que c'est le cas particulier\n",
" # le seul protagoniste est Harpagon\n", " # le seul protagoniste est Harpagon\n",
" print(\"Exception scene 7 of act 4\")\n",
" scenePersoList.append('Harpagon')\n", " scenePersoList.append('Harpagon')\n",
" #print(\"*********************************\")\n", " #print(\"*********************************\")\n",
" #print(\"Liste des personnages de la scène\")\n", " #print(\"Liste des personnages de la scène\")\n",
...@@ -1370,7 +1367,7 @@ ...@@ -1370,7 +1367,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 15, "execution_count": 20,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -1402,76 +1399,23 @@ ...@@ -1402,76 +1399,23 @@
" </tr>\n", " </tr>\n",
" </thead>\n", " </thead>\n",
" <tbody>\n", " <tbody>\n",
" <tr>\n",
" <th>746</th>\n",
" <td>4</td>\n",
" <td>La Flèche</td>\n",
" <td>Cléante</td>\n",
" <td>6</td>\n",
" <td>11</td>\n",
" </tr>\n",
" <tr>\n",
" <th>748</th>\n",
" <td>4</td>\n",
" <td>La Flèche</td>\n",
" <td>Cléante</td>\n",
" <td>6</td>\n",
" <td>8</td>\n",
" </tr>\n",
" <tr>\n",
" <th>750</th>\n",
" <td>4</td>\n",
" <td>La Flèche</td>\n",
" <td>Cléante</td>\n",
" <td>6</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>752</th>\n",
" <td>4</td>\n",
" <td>La Flèche</td>\n",
" <td>Cléante</td>\n",
" <td>6</td>\n",
" <td>7</td>\n",
" </tr>\n",
" <tr>\n",
" <th>754</th>\n",
" <td>4</td>\n",
" <td>La Flèche</td>\n",
" <td>Cléante</td>\n",
" <td>6</td>\n",
" <td>9</td>\n",
" </tr>\n",
" <tr>\n",
" <th>756</th>\n",
" <td>4</td>\n",
" <td>La Flèche</td>\n",
" <td>Cléante</td>\n",
" <td>6</td>\n",
" <td>9</td>\n",
" </tr>\n",
" </tbody>\n", " </tbody>\n",
"</table>\n", "</table>\n",
"</div>" "</div>"
], ],
"text/plain": [ "text/plain": [
" act author recipient scene speech_length\n", "Empty DataFrame\n",
"746 4 La Flèche Cléante 6 11\n", "Columns: [act, author, recipient, scene, speech_length]\n",
"748 4 La Flèche Cléante 6 8\n", "Index: []"
"750 4 La Flèche Cléante 6 3\n",
"752 4 La Flèche Cléante 6 7\n",
"754 4 La Flèche Cléante 6 9\n",
"756 4 La Flèche Cléante 6 9"
] ]
}, },
"execution_count": 15, "execution_count": 20,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
], ],
"source": [ "source": [
"debugDf = textDataSynthesisTableDf[textDataSynthesisTableDf[\"author\"]==\"La Flèche\"]\n", " textDataSynthesisTableDf[textDataSynthesisTableDf.isna().any(axis=1)]"
"debugDf[debugDf[\"act\"]==float(4)]"
] ]
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment