a
    j=icŒ  ã                   @   s   d d„ Z dS )c                 C   s$   | j  |¡}t|tƒsJ ‚|  |¡S )zÿ
    Helper method to get array for a DataFrame column.

    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).
    )ÚcolumnsZget_locÚ
isinstanceÚintZ_get_column_array)ÚdfÚcolZicol© r   úl/home/droni/.local/share/virtualenvs/DPS-5Je3_V2c/lib/python3.9/site-packages/pandas/tests/copy_view/util.pyÚ	get_array   s    r   N)r   r   r   r   r   Ú<module>   ó    