delete debug print lines

parent 9d665c57
......@@ -562,8 +562,6 @@
" if currentLine.startswith(\" \"):\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",
" if actNum==4 and sceneNum==7:\n",
" print(\"persosList : {}\".format(scenePersoList))\n",
" for perso in scenePersoList:\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",
......@@ -655,7 +653,6 @@
" else:\n",
" # La ligne est vide on sait que c'est le cas particulier\n",
" # le seul protagoniste est Harpagon\n",
" print(\"Exception scene 7 of act 4\")\n",
" scenePersoList.append('Harpagon')\n",
" #print(\"*********************************\")\n",
" #print(\"Liste des personnages de la scène\")\n",
......@@ -1370,7 +1367,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 20,
"metadata": {},
"outputs": [
{
......@@ -1402,76 +1399,23 @@
" </tr>\n",
" </thead>\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",
"</table>\n",
"</div>"
],
"text/plain": [
" act author recipient scene speech_length\n",
"746 4 La Flèche Cléante 6 11\n",
"748 4 La Flèche Cléante 6 8\n",
"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"
"Empty DataFrame\n",
"Columns: [act, author, recipient, scene, speech_length]\n",
"Index: []"
]
},
"execution_count": 15,
"execution_count": 20,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"debugDf = textDataSynthesisTableDf[textDataSynthesisTableDf[\"author\"]==\"La Flèche\"]\n",
"debugDf[debugDf[\"act\"]==float(4)]"
" textDataSynthesisTableDf[textDataSynthesisTableDf.isna().any(axis=1)]"
]
},
{
......
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