Skip to content

Commit 882af9f

Browse files
Kevin Sheppardbashtage
Kevin Sheppard
authored andcommitted
ENH: Improve dtype typing and testing
1 parent ae4bb1a commit 882af9f

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

pandas-stubs/core/arrays/boolean.pyi

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
11
import numpy as np
22

3-
from pandas._typing import (
4-
Scalar,
5-
type_t,
6-
)
7-
83
from pandas.core.dtypes.base import ExtensionDtype as ExtensionDtype
94

105
from .masked import BaseMaskedArray as BaseMaskedArray
116

127
class BooleanDtype(ExtensionDtype):
138
name: str = ...
14-
@property
15-
def na_value(self) -> Scalar: ...
16-
@property
17-
def type(self) -> type_t: ...
18-
@property
19-
def kind(self) -> str: ...
20-
@classmethod
21-
def construct_array_type(cls) -> type_t[BooleanArray]: ...
229
def __from_arrow__(self, array): ...
2310

2411
def coerce_to_array(values, mask=..., copy: bool = ...): ...

pandas-stubs/core/dtypes/dtypes.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ class PeriodDtype(PandasExtensionDtype):
9393
def construct_from_string(cls, string: _str): ...
9494
@property
9595
def name(self) -> _str: ...
96-
@property
97-
def na_value(self): ...
9896
def __hash__(self) -> int: ...
9997
def __eq__(self, other) -> bool: ...
10098
@classmethod

0 commit comments

Comments
 (0)