U
    sVÞcŒ  ã                   @   s   d d„ Z dS )c                 C   s$   | j  |¡}t|tƒst‚|  |¡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ÚintÚAssertionErrorZ_get_column_array)ZdfÚcolZicol© r   ú?/tmp/pip-unpacked-wheel-xj8nt62q/pandas/tests/copy_view/util.pyÚ	get_array   s    r   N)r   r   r   r   r   Ú<module>   ó    