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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
Ë
oñúhÅãó¨—ddlZddlZddlmZddlmZmZejd„«Zejd„«Z    ejd„«Z
ejd„«Z ejdd    g¬
«d „«Z ejd „«Z ejd „«Zejd„«Zejd„«Zejd„«Zejd„«Zejddg¬
«d„«Zejd„d„d„d„ggd¢¬«d„«Zejddg¬
«d„«Zejddg¬
«d„«Zejddg¬
«d„«Zejdd g¬
«d!„«Zejddg¬
«d"„«Zejd#„«Zejd$efd%„«Zy)&éN)Ú _get_option)ÚSeriesÚoptionscó—t‚)z3A fixture providing the ExtensionDtype to validate.©ÚNotImplementedError©óúRH:\Change_password\venv_build\Lib\site-packages\pandas/tests/extension/conftest.pyÚdtyper ó
€ô Ðr
có—t‚)z
    Length-100 array for this type.
 
    * data[0] and data[1] should both be non missing
    * data[0] and data[1] should not be equal
    rr    r
r Údataró
€ô Ðr
cót—|js'|jdk(stj|›d«t‚)z‰
    Length-100 array in which all the elements are two.
 
    Call pytest.skip in your fixture if the dtype does not support divmod.
    Úmz is not a numeric dtype)Ú _is_numericÚkindÚpytestÚskipr©r s r Ú data_for_twosrs4€ð × Ò  §¡¨sÒ!2ô     ‰ ugÐ4Ð5Ô6ä
Ðr
có—t‚)zLength-2 array with [NA, Valid]rr    r
r Ú data_missingr-r r
rr)ÚparamscóH—|jdk(r|S|jdk(r|Sy)z5Parametrized fixture giving 'data' and 'data_missing'rrN©Úparam)Úrequestrrs   r Úall_datar 3s,€ð‡}}˜Ò؈ Ø    ‰˜.Ò    (ØÐð
)r
có‡—ˆfd„}|S)a 
    Generate many datasets.
 
    Parameters
    ----------
    data : fixture implementing `data`
 
    Returns
    -------
    Callable[[int], Generator]:
        A callable that takes a `count` argument and
        returns a generator yielding `count` datasets.
    c3ó6•K—t|«D]}‰–—Œy­w©N)Úrange)ÚcountÚ_rs  €r Úgenzdata_repeated.<locals>.genLsøèø€Üu“ò    ˆAØ‹Jñ    ùsƒr    )rr's` r Ú data_repeatedr(<sø€ô ð €Jr
có—t‚)zÆ
    Length-3 array with a known sort order.
 
    This should be three items [B, C, A] with
    A < B < C
 
    For boolean dtypes (for which there are only 2 values available),
    set B=C=True
    rr    r
r Údata_for_sortingr*Ss
€ô Ðr
có—t‚)z{
    Length-3 array with a known sort order.
 
    This should be three items [B, NA, A] with
    A < B and NA missing.
    rr    r
r Údata_missing_for_sortingr,arr
có"—tjS)zÏ
    Binary operator for comparing NA values.
 
    Should return a function of two arguments that returns
    True if both arguments are (scalar) NA for your type.
 
    By default, uses ``operator.is_``
    )ÚoperatorÚis_r    r
r Úna_cmpr0ls€ô <‰<Ðr
có—|jS)z 
    The scalar missing value for this type. Default dtype.na_value.
 
    TODO: can be removed in 3.x (see https://github.com/pandas-dev/pandas/pull/54930)
    )Úna_valuers r r2r2ys€ð >‰>Ðr
có—t‚)zö
    Data for factorization, grouping, and unique tests.
 
    Expected to be like [B, B, NA, NA, A, A, B, C]
 
    Where A < B < C and NA is missing.
 
    If a dtype has _is_boolean = True, i.e. only 2 unique non-NA entries,
    then set C=B.
    rr    r
r Údata_for_groupingr4ƒs
€ô Ðr
TFcó—|jS)z#Whether to box the data in a Seriesr©rs r Ú box_in_seriesr7’s€ð =‰=Ðr
có—y©Nér    ©Úxs r ú<lambda>r=šsr
có —dgt|«zSr9)Úlenr;s r r=r=›s€1#œ˜A›‘,€r
có2—tdgt|«z«Sr9)rr?r;s r r=r=œs€”&˜!˜œs 1›v™Ó&€r
có—|Sr#r    r;s r r=r=s€!€r
)ÚscalarÚlistÚseriesÚobject)rÚidscó—|jS)z,
    Functions to test groupby.apply().
    rr6s r Úgroupby_apply_oprH˜s€ð =‰=Ðr
có—|jS)zU
    Boolean fixture to support Series and Series.to_frame() comparison testing.
    rr6s r Úas_framerJ¨ó€ð
=‰=Ðr
có—|jS)zL
    Boolean fixture to support arr and Series(arr) comparison testing.
    rr6s r Ú    as_seriesrM°rKr
có—|jS)zd
    Boolean fixture to support comparison testing of ExtensionDtype array
    and numpy array.
    rr6s r Ú    use_numpyrO¸ó€ð =‰=Ðr
ÚffillÚbfillcó—|jS)z{
    Parametrized fixture giving method parameters 'ffill' and 'bfill' for
    Series.fillna(method=<method>) testing.
    rr6s r Ú fillna_methodrTÁrPr
có—|jS)zR
    Boolean fixture to support ExtensionDtype _from_sequence method testing.
    rr6s r Úas_arrayrVÊrKr
có4—tjt«S)zØ
    A scalar that *cannot* be held by this ExtensionArray.
 
    The default should work for most subclasses, but is not guaranteed.
 
    If the array can hold any item (i.e. object dtype), then use pytest.skip.
    )rEÚ__new__)rs r Úinvalid_scalarrYÒs€ô >‰>œ&Ó !Ð!r
Úreturncó^—tjjduxrtdd¬«dk(S)z7
    Fixture to check if Copy-on-Write is enabled.
    Tzmode.data_manager)ÚsilentÚblock)rÚmodeÚ copy_on_writerr    r
r Úusing_copy_on_writer`Þs1€ô      ‰ ×"Ñ" dÐ*ò    EÜ Ð+°DÔ 9¸WÑ Dðr
)r.rÚpandas._config.configrÚpandasrrÚfixturer rrrr r(r*r,r0r2r4r7rHrJrMrOrTrVrYÚboolr`r    r
r ú<module>resfðÛã å-÷𠇁ñóðð
‡ñóðð‡ñ óð ð‡ñóðð
€‡˜ Ð/Ô0ñó1ðð‡ñóðð,‡ñ
óð
ð‡ñóðð‡ñ    óð    ð‡ñóðð‡ñ óð ð€‡˜˜e}Ô%ñó&ðð
€‡áÙÙ&Ùð     ò     /ôñóðð€‡˜˜e}Ô%ñó&ðð€‡˜˜e}Ô%ñó&ðð€‡˜˜e}Ô%ñó&ðð€‡˜ Ð)Ô*ñó+ðð€‡˜˜e}Ô%ñó&ðð‡ñ"óð"ð‡ð˜Tòóñr