File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,14 @@ def isna(self):
177
177
def isnull (self ):
178
178
return self ._parent .loc [self ._parent .index .isnull ()]
179
179
180
+ @doc (pd .Index .notnull )
181
+ def notnull (self ):
182
+ return self ._parent .loc [self ._parent .index .notnull ()]
183
+
184
+ @doc (pd .Index .notna )
185
+ def notna (self ):
186
+ return self ._parent .loc [self ._parent .index .notna ()]
187
+
180
188
@doc (pd .Index .isin )
181
189
def isin (self , values , levels = None ):
182
190
idx = self ._parent .index .isin (values , levels )
@@ -196,6 +204,8 @@ class SelectableColumn:
196
204
__ge__ = selector_wrapper (pd .Series , "__ge__" )
197
205
isna = selector_wrapper (pd .Series , "isna" )
198
206
isnull = selector_wrapper (pd .Series , "isnull" )
207
+ notna = selector_wrapper (pd .Series , "notna" )
208
+ notnull = selector_wrapper (pd .Series , "notnull" )
199
209
isin = selector_wrapper (pd .Series , "isin" )
200
210
201
211
def __init__ (self , parent , series = None ):
You can’t perform that action at this time.
0 commit comments