File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 11import numpy as np
22
3+ from pandas ._typing import (
4+ Scalar ,
5+ type_t ,
6+ )
7+
38from pandas .core .dtypes .base import ExtensionDtype as ExtensionDtype
49
510from .masked import BaseMaskedArray as BaseMaskedArray
611
712class 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
1124def coerce_to_array (values , mask = ..., copy : bool = ...): ...
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments