Skip to content

Commit ec6e1e9

Browse files
committed
REV: Revert unrelated changes
1 parent eb7d421 commit ec6e1e9

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

pandas-stubs/core/arrays/boolean.pyi

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

3+
from pandas._typing import (
4+
Scalar,
5+
type_t,
6+
)
7+
38
from pandas.core.dtypes.base import ExtensionDtype as ExtensionDtype
49

510
from .masked import BaseMaskedArray as BaseMaskedArray
611

712
class BooleanDtype(ExtensionDtype):
813
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]: ...
922
def __from_arrow__(self, array): ...
1023

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

pandas-stubs/core/dtypes/dtypes.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ 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): ...
9698
def __hash__(self) -> int: ...
9799
def __eq__(self, other) -> bool: ...
98100
@classmethod

0 commit comments

Comments
 (0)