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
Ë
nñúhãó—dZddlmZddlZddlZddlZddlmZddlm    Z    m
Z
m Z m Z m Z mZmZmZddlZddlmZddlmZmZmZmZmZmZmZmZmZmZm Z m!Z!erddl"m#Z#dd    „Z$dd
„Z%dd „Z&dd „Z'dd „Z(dd„Z)dd„Z*dd„Z+dd„Z,dd„Z-gd¢Z.y)zn
compat
======
 
Cross-compatible functions for different versions of Python.
 
Other items:
* platform checker
é)Ú annotationsN)Ú TYPE_CHECKING)ÚIS64ÚISMUSLÚPY310ÚPY311ÚPY312ÚPY314ÚPYPYÚWARNING_CHECK_DISABLED)Ú is_numpy_dev) Ú HAS_PYARROWÚpa_version_under10p1Úpa_version_under11p0Úpa_version_under13p0Úpa_version_under14p0Úpa_version_under14p1Úpa_version_under16p0Úpa_version_under17p0Úpa_version_under18p0Úpa_version_under19p0Úpa_version_under20p0Úpa_version_under21p0)ÚFcób—||_|j›d|›|_|j|_|S)z<
    Bind the name/qualname attributes of the function.
    ú.)Ú__name__Ú __qualname__Ú
__module__)ÚfÚnameÚclss   úIH:\Change_password\venv_build\Lib\site-packages\pandas/compat/__init__.pyÚset_function_namer$0s1€ð€A„JØŸ ™ ~ Q t fÐ-€A„NØ—>‘>€A„LØ €Hócó(—tjdk(S)z•
    Checking if the running platform is little endian.
 
    Returns
    -------
    bool
        True if the running platform is little endian.
    Úlittle)ÚsysÚ    byteorder©r%r#Úis_platform_little_endianr+:s€ô =‰=˜HÑ $Ð$r%có&—tjdvS)z‰
    Checking if the running platform is windows.
 
    Returns
    -------
    bool
        True if the running platform is windows.
    )Úwin32Úcygwin©r(Úplatformr*r%r#Úis_platform_windowsr1Fs€ô <‰<Ð.Ð .Ð.r%có(—tjdk(S)z…
    Checking if the running platform is linux.
 
    Returns
    -------
    bool
        True if the running platform is linux.
    Úlinuxr/r*r%r#Úis_platform_linuxr4Rs€ô <‰<˜7Ñ "Ð"r%có(—tjdk(S)z
    Checking if the running platform is mac.
 
    Returns
    -------
    bool
        True if the running platform is mac.
    Údarwinr/r*r%r#Úis_platform_macr7^s€ô <‰<˜8Ñ #Ð#r%cóx—tj«dvxs#tj«jd«S)zž
    Checking if the running platform use ARM architecture.
 
    Returns
    -------
    bool
        True if the running platform uses ARM architecture.
    )Úarm64Úaarch64Úarmv)r0ÚmachineÚ
startswithr*r%r#Úis_platform_armr>js9€ô × Ñ Ó Ð!5Ð 5ò ¼×9IÑ9IÓ9K×9VÑ9VØó:ðr%có.—tj«dvS)z 
    Checking if the running platform use Power architecture.
 
    Returns
    -------
    bool
        True if the running platform uses ARM architecture.
    )Úppc64Úppc64le)r0r<r*r%r#Úis_platform_powerrBxs€ô × Ñ Ó Ð!5Ð 5Ð5r%cóH—tjjdd«dk(S)zà
    Checking if running in a continuous integration environment by checking
    the PANDAS_CI environment variable.
 
    Returns
    -------
    bool
        True if the running in a continuous integration environment.
    Ú    PANDAS_CIÚ0Ú1)ÚosÚenvironÚgetr*r%r#Úis_ci_environmentrJ„s€ô :‰:>‰>˜+ sÓ +¨sÑ 2Ð2r%có¨—tjjjs t    d«‚tjjj
S)a
 
    Importing the `LZMAFile` class from the `lzma` module.
 
    Returns
    -------
    class
        The `LZMAFile` class from the `lzma` module.
 
    Raises
    ------
    RuntimeError
        If the `lzma` module was not imported correctly, or didn't exist.
    zslzma module not available. A Python re-install with the proper dependencies, might be required to solve this issue.)ÚpandasÚcompatÚ compressorsÚhas_lzmaÚ RuntimeErrorÚLZMAFiler*r%r#Ú get_lzma_filerR‘sA€ô =‰=× $Ñ $× -Ò -Üð 5ó
ð    
ô
=‰=× $Ñ $× -Ñ -Ð-r%có¨—tjjjs t    d«‚tjjj
S)a
    Importing the `BZ2File` class from the `bz2` module.
 
    Returns
    -------
    class
        The `BZ2File` class from the `bz2` module.
 
    Raises
    ------
    RuntimeError
        If the `bz2` module was not imported correctly, or didn't exist.
    zrbz2 module not available. A Python re-install with the proper dependencies, might be required to solve this issue.)rLrMrNÚhas_bz2rPÚBZ2Filer*r%r#Ú get_bz2_filerV¨sA€ô =‰=× $Ñ $× ,Ò ,Üð 5ó
ð    
ô
=‰=× $Ñ $× ,Ñ ,Ð,r%)r rrrrrrrrrrrrrrrrr    r
r r )r rr!Ústrr"ÚtypeÚreturnr)rYÚbool)rYz(type[pandas.compat.compressors.LZMAFile])rYz'type[pandas.compat.compressors.BZ2File])/Ú__doc__Ú
__future__rrGr0r(ÚtypingrÚpandas.compat._constantsrrrrr    r
r r Úpandas.compat.compressorsrLÚpandas.compat.numpyr Úpandas.compat.pyarrowrrrrrrrrrrrrÚpandas._typingrr$r+r1r4r7r>rBrJrRrVÚ__all__r*r%r#ú<module>rds‡ðñõ#ã    ÛÛ
Ý ÷    ÷    ó    ó!Ý,÷ ÷ ÷ ó ñÝ ó ó    %ó    /ó    #ó    $ó ó    6ó
3ó.ó.-ò. r%