python(26)
-
Python Schedule 설정
import schedule import time decider = True def hello(): print("I'm working...%s"%time.ctime()) schedule.every().day.at("10:36").do(hello) # 12시간마다 #schedule.every(12).hours.do(hello) while decider: schedule.run_pending() time.sleep(1)
2021.06.30 -
Python nan 확인하는 방법 numpy np.isnan(x)
import numpy as np np.isnan(x) ## True Python 이용 시 nan 인데도 nan인지 확인이 잘 안 될 때가 있죠? 그럴 때 사용하시면 편하니 유용하게 사용하세요.
2021.04.29