| 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/tests/copy_view/__pycache__/ |
Upload File : |
�
. �g� � �, � d dl mZmZmZ d dlmZ dd�Zy)� )�Categorical�Index�Series)�BaseMaskedArrayNc � � t | t � r
| j }npt | t � r|�| j |k( r
| j }nB|�J �| j
j
|� }t |t � sJ �| j |� }t |t � r|j S t |t � r|S t |d|� S )a
Helper method to get array for a DataFrame column or a Series.
Equivalent of df[col].values, but without going through normal getitem,
which triggers tracking references / CoW (and we might be testing that
this is done by some other operation).
�_ndarray)
�
isinstancer �_valuesr �name�columns�get_loc�int�_get_column_arrayr �_datar �getattr)�obj�col�arr�icols �=C:\Python312\Lib\site-packages\pandas/tests/copy_view/util.py� get_arrayr s� � � �#�u���k�k�� �C�� �c�k�S�X�X��_��k�k�������{�{�"�"�3�'���$��$�$�$��#�#�D�)���#��'��y�y�� �C�� %��
��3�
�C�(�(� )N)�pandasr r r �pandas.core.arraysr r � r r �<module>r s ��� �
/�)r