File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 1
1
import numpy as np
2
2
3
+ from pandas ._typing import (
4
+ Scalar ,
5
+ type_t ,
6
+ )
7
+
3
8
from pandas .core .dtypes .base import ExtensionDtype as ExtensionDtype
4
9
5
10
from .masked import BaseMaskedArray as BaseMaskedArray
6
11
7
12
class BooleanDtype (ExtensionDtype ):
8
13
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 ]: ...
9
22
def __from_arrow__ (self , array ): ...
10
23
11
24
def coerce_to_array (values , mask = ..., copy : bool = ...): ...
Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ class PeriodDtype(PandasExtensionDtype):
93
93
def construct_from_string (cls , string : _str ): ...
94
94
@property
95
95
def name (self ) -> _str : ...
96
+ @property
97
+ def na_value (self ): ...
96
98
def __hash__ (self ) -> int : ...
97
99
def __eq__ (self , other ) -> bool : ...
98
100
@classmethod
You can’t perform that action at this time.
0 commit comments