Articles → Numpy → isnat function in numpy

isnat function in numpy






Purpose





Example


import numpy as np

print(np.isnat(np.datetime64("NaT")))
print(np.isnat(np.datetime64("2016-01-01")))



Output



Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Saturday, June 01, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250