I have been running a for loop for 4 days now. I understand that there are better ways to do it, but I needed to run it just once. Is there a way to check the progress without interrupting the loop? I'm terrified to loose all of my progress. This is my code
#scoring the sentences
for i in range(len(df.hope)):
for word in words:
df.hope[i] += df.text[i].count(word)
for word_f in words_f:
df.fear[i] += df.text[i].count(word_f)