hyb
2025-12-31 6cdcd01f77e11b72c323603e27ebdb85b15223c9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Ë
nñúh2ãó0—ddlmZddlZddlZ                dd„Zy)é)Ú annotationsNcóø—tj|«}tjj    |j
«rHtj t|«|¬«}tjt|«t¬«}||fS|j«}|j|jz}t|«|jz}|d|||z}tj||¬«}|d}|ctjjtj «t|«d|g|j¬«}tj"|«}||fStj$t|«t¬«}||fS)aµ
    Convert a primitive pyarrow.Array to a numpy array and boolean mask based
    on the buffers of the Array.
 
    At the moment pyarrow.BooleanArray is not supported.
 
    Parameters
    ----------
    arr : pyarrow.Array
    dtype : numpy.dtype
 
    Returns
    -------
    (data, mask)
        Tuple of two numpy arrays with the raw data (with specified dtype) and
        a boolean mask (validity mask, so False means missing)
    )ÚdtypeérN)Úoffset)ÚnprÚpyarrowÚtypesÚis_nullÚtypeÚemptyÚlenÚzerosÚboolÚbuffersrÚitemsizeÚ
frombufferÚ BooleanArrayÚ from_buffersÚbool_ÚasarrayÚones)    ÚarrrÚdataÚmaskÚbuflistrÚlengthÚdata_bufÚbitmasks             úXH:\Change_password\venv_build\Lib\site-packages\pandas/core/arrays/arrow/_arrow_utils.pyÚpyarrow_array_to_numpy_and_maskr!s/€ô( H‰HU‹O€Eä‡}}×јSŸX™XÔ&äx‰xœ˜C›¨Ô.ˆÜx‰xœ˜C›¬Ô-ˆØTˆzÐØk‰k‹m€GðZ‰Z˜%Ÿ.™.Ñ (€FÜ ‹X˜Ÿ™Ñ &€Fؐq‰z˜& 6¨F¡?Ð3€HÜ =‰=˜¨Ô /€Dؐa‰j€GØÐÜ×#Ñ#×0Ñ0Ü M‰M‹OœS ›X¨¨g ¸s¿z¹zð1ó
ˆôz‰z˜$ӈ𠐈:Ðôw‰w”s˜3“x¤tÔ,ˆØ ˆ:Ðó)rznp.dtypeÚreturnztuple[np.ndarray, np.ndarray])Ú
__future__rÚnumpyrr    r!©r"r ú<module>r's#ðÝ"ãÛð+Øð+à"ô+r"