Esempio n. 1
0
 def test_is_na_string(self):
     a = Vector(["a", "b", ""])
     assert a.is_na().tolist() == [False, False, True]
Esempio n. 2
0
 def test_is_na_float(self):
     a = Vector([1, 2, None])
     assert a.is_na().tolist() == [False, False, True]
Esempio n. 3
0
 def test_is_na_object(self):
     a = Vector([self, self, None])
     assert a.is_na().tolist() == [False, False, True]
Esempio n. 4
0
 def test_is_na_datetime(self):
     a = Vector([DATETIME, DATETIME, NaT])
     assert a.is_na().tolist() == [False, False, True]