5454 isidentifier , set_function_name , cPickle as pkl )
5555from pandas .core .ops import _align_method_FRAME
5656import pandas .core .nanops as nanops
57- from pandas .util ._decorators import Appender , Substitution , deprecate_kwarg
57+ from pandas .util ._decorators import (Appender , Substitution ,
58+ deprecate , deprecate_kwarg )
5859from pandas .util ._validators import validate_bool_kwarg
5960from pandas .core import config
6061
@@ -4412,7 +4413,7 @@ def asof(self, where, subset=None):
44124413 @Appender (_shared_docs ['isna' ])
44134414 def isna (self ):
44144415 return isna (self ).__finalize__ (self )
4415- isnull = isna
4416+ isnull = deprecate ( ' isna' , isna , klass = DeprecationWarning )
44164417
44174418 _shared_docs ['notna' ] = """
44184419 Return a boolean same-sized object indicating if the values are
@@ -4426,7 +4427,7 @@ def isna(self):
44264427 @Appender (_shared_docs ['notna' ])
44274428 def notna (self ):
44284429 return notna (self ).__finalize__ (self )
4429- notnull = notna
4430+ notnull = deprecate ( ' notna' , notna , klass = DeprecationWarning )
44304431
44314432 def _clip_with_scalar (self , lower , upper , inplace = False ):
44324433 if ((lower is not None and np .any (isna (lower ))) or
0 commit comments