File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 66 Literal ,
77)
88
9- from pandas ._libs import lib
9+ # from pandas._libs import lib
1010
1111if TYPE_CHECKING :
1212 from collections .abc import (
@@ -93,7 +93,7 @@ def _str_match(
9393 pat : str ,
9494 case : bool = True ,
9595 flags : int = 0 ,
96- na : Scalar | lib .NoDefault = lib .no_default ,
96+ # na: Scalar | lib.NoDefault = lib.no_default,
9797 ):
9898 pass
9999
@@ -103,7 +103,7 @@ def _str_fullmatch(
103103 pat : str | re .Pattern ,
104104 case : bool = True ,
105105 flags : int = 0 ,
106- na : Scalar | lib .NoDefault = lib .no_default ,
106+ # na: Scalar | lib.NoDefault = lib.no_default,
107107 ):
108108 pass
109109
@@ -197,7 +197,11 @@ def _str_islower(self):
197197
198198 @abc .abstractmethod
199199 def _str_isnumeric (self ):
200- pass
200+ try :
201+ float (self )
202+ return True
203+ except ValueError :
204+ return False
201205
202206 @abc .abstractmethod
203207 def _str_isspace (self ):
You can’t perform that action at this time.
0 commit comments