Skip to content

Commit ce5847f

Browse files
authored
remove nan-like description (#149)
1 parent 7952c2e commit ce5847f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

spec/API_specification/dataframe_api/dataframe_object.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,12 +589,14 @@ def isnull(self) -> DataFrame:
589589
Notes
590590
-----
591591
Does *not* include NaN-like entries.
592+
May optionally include 'NaT' values (if present in an implementation),
593+
but note that the Standard makes no guarantees about them.
592594
"""
593595
...
594596

595597
def isnan(self) -> DataFrame:
596598
"""
597-
Check for nan-like entries.
599+
Check for nan entries.
598600
599601
Returns
600602
-------
@@ -606,7 +608,8 @@ def isnan(self) -> DataFrame:
606608
607609
Notes
608610
-----
609-
Includes anything with NaN-like semantics, e.g. np.datetime64("NaT").
611+
This only checks for 'NaN'.
610612
Does *not* include 'missing' or 'null' entries.
613+
In particular, does not check for `np.timedelta64('NaT')`.
611614
"""
612615
...

0 commit comments

Comments
 (0)