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 6
6
Literal ,
7
7
)
8
8
9
- from pandas ._libs import lib
9
+ # from pandas._libs import lib
10
10
11
11
if TYPE_CHECKING :
12
12
from collections .abc import (
@@ -93,7 +93,7 @@ def _str_match(
93
93
pat : str ,
94
94
case : bool = True ,
95
95
flags : int = 0 ,
96
- na : Scalar | lib .NoDefault = lib .no_default ,
96
+ # na: Scalar | lib.NoDefault = lib.no_default,
97
97
):
98
98
pass
99
99
@@ -103,7 +103,7 @@ def _str_fullmatch(
103
103
pat : str | re .Pattern ,
104
104
case : bool = True ,
105
105
flags : int = 0 ,
106
- na : Scalar | lib .NoDefault = lib .no_default ,
106
+ # na: Scalar | lib.NoDefault = lib.no_default,
107
107
):
108
108
pass
109
109
@@ -197,7 +197,11 @@ def _str_islower(self):
197
197
198
198
@abc .abstractmethod
199
199
def _str_isnumeric (self ):
200
- pass
200
+ try :
201
+ float (self )
202
+ return True
203
+ except ValueError :
204
+ return False
201
205
202
206
@abc .abstractmethod
203
207
def _str_isspace (self ):
You can’t perform that action at this time.
0 commit comments