zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
U
¬ý°dWã    @sœddlZddlZddlZddlmZmZmZm    Z    m
Z
m Z m Z m Z ejeeee    e
e e e gddd„ƒZejdd„ƒZejdd    „ƒZejdd    gdd
d „ƒZdS) éN)Ú    Int8DtypeÚ
Int16DtypeÚ
Int32DtypeÚ
Int64DtypeÚ
UInt8DtypeÚ UInt16DtypeÚ UInt32DtypeÚ UInt64Dtype)ÚparamscCs| ¡S)z.Parametrized fixture returning integer 'dtype'©Úparam)Úrequest©rú[d:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\pandas/tests/arrays/integer/conftest.pyÚdtypesrcCs<tjttdƒƒtjgttddƒƒtjgddg|dS)z¹
    Fixture returning 'data' array with valid and missing values according to
    parametrized integer 'dtype'.
 
    Used to test dtype conversion with and without missing values.
    éé
ébécéd©r)ÚpdÚarrayÚlistÚrangeÚnpÚnanrrrrÚdata"s0þrcCstjtjdg|dS)zÀ
    Fixture returning array with exactly one NaN and one valid integer,
    according to parametrized integer 'dtype'.
 
    Used to test dtype conversion with and without missing values.
    ér)rrrrrrrrÚ data_missing0srcCs |jdkr|S|jdkr|SdS)zParametrized fixture returning 'data' or 'data_missing' integer arrays.
 
    Used to test dtype conversion with and without missing values.
    rrNr )r rrrrrÚall_data;s
 
r )ÚnumpyrZpytestZpandasrZpandas.core.arrays.integerrrrrrrrr    Zfixturerrrr rrrrÚ<module>s*( øÿ