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


Picture showing the output of the isnat function in numpy
Click to Enlarge


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

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250