| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/pandas/core/indexes/__pycache__/ |
Upload File : |
�
- �g�
� �d � d Z ddlmZ ddlmZmZ ddlmZ ddlm Z erddl
mZ G d� dee� Z
y )
zj
frozen (immutable) data structures to support MultiIndexing
These are used for:
- .names (FrozenList)
� )�annotations)�
TYPE_CHECKING�NoReturn)�PandasObject��pprint_thing)�Selfc � � � e Zd ZdZd
� fd�Zd
d�ZexZZ� fd�Zdd�Z d� fd�Z
e
Zd� fd�ZeZ
d� Zdd �Zdd
�Zdd�Zdd�ZexZZexZZexZxZZexZxZZ� xZS )�
FrozenListz�
Container that doesn't allow setting item *but*
because it's technically hashable, will be used
for lookups, appropriately, etc.
c �v �� t |t � rt |� } t | � t �| � |� � S )aF
Returns a FrozenList with other concatenated to the end of self.
Parameters
----------
other : array-like
The array-like whose elements we are concatenating.
Returns
-------
FrozenList
The collection difference between self and other.
)�
isinstance�tuple�list�type�super�__add__��self�other� __class__s ��<C:\Python312\Lib\site-packages\pandas/core/indexes/frozen.py�unionzFrozenList.union"