I have some code that runs on a cron (via kubernetes) for several months now.
Yesterday, part of my code didn't work that normally does:
This statement, all of a sudden, wasnt 'True' (both df_temp and df_temp4 have data in them:
if ( len(df_temp > 0) & len(df_temp4 > 0)):
print "HERE"
however, this worked:
if ( len(df_temp > 0) and len(df_temp4 > 0)):
print "HERE"
Was there some sort of code push that would cause this change? Since I've run this code for months, not sure what would cause this statement to fail all of a sudden.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…