File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 3
3
"""
4
4
from __future__ import annotations
5
5
6
- from typing import Mapping , Sequence
6
+ from typing import Mapping , Sequence , Any
7
7
8
8
from .column_object import *
9
9
from .dataframe_object import *
@@ -102,3 +102,20 @@ class null:
102
102
103
103
"""
104
104
...
105
+
106
+ def isnull (value : Any , / ) -> bool :
107
+ """
108
+ Check if an object is a `null` scalar.
109
+
110
+ Parameters
111
+ ----------
112
+ value : Any
113
+ Any input type is valid.
114
+
115
+ Returns
116
+ -------
117
+ bool
118
+ True if the input is a `null` object from the same library which
119
+ implements the dataframe API standard, False otherwise.
120
+
121
+ """
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ of objects and functions in the top-level namespace. The latter are:
14
14
:nosignatures:
15
15
16
16
__dataframe_api_version__
17
+ isnull
17
18
null
18
19
19
20
The ``DataFrame ``, ``Column `` and ``GroupBy `` objects have the following
You can’t perform that action at this time.
0 commit comments