Jun-09-2024, 10:06 PM
What do you mean by "disappeared"? What evidence do you have to come to your conclusion?
This is confusing.
This is confusing.
Quote:if (not filter_a_dataframe.empty)When you remove the "not", the program flow changes. Statements that didn't run before now run. Is your proof that my_variable "disappeared" that nothing was printed? Maybe nothing was printed because filter_a_dataframe.empty is truthful.
to
if (filter_a_dataframe.empty)
the variable doesn't get erased. Any ideas why this is happening? Also, I can provide the specific code if that helps. I was just trying to simplify it for easy reading.