| 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/indexes/multi/__pycache__/ |
Upload File : |
�
0 �g� � �: � d dl Zd dlZd dlZd dlmZ d� Zd� Z d� Z
y)� Nc �� � g d�}| j |� }| | }|j |� sJ �d}t j t |�� 5 | j
d d d � y # 1 sw Y y xY w)N)� � r � z+'MultiIndex' object has no attribute 'freq'��match)�take�equals�pytest�raises�AttributeError�freq)�idx�indexer�result�expected�msgs �FC:\Python312\Lib\site-packages\pandas/tests/indexes/multi/test_take.py� test_taker sa � ��G�
�X�X�g�
�F��7�|�H��=�=��"�"�"� 8�C� ���~�S� 1� ����� � �s �
A!�!A*c � � ddg}d}t j t |�� 5 | j |d�� d d d � d}t j t |�� 5 | j ||�� d d d � d}t j t |�� 5 | j |d �
� d d d � y # 1 sw Y �|xY w# 1 sw Y �OxY w# 1 sw Y y xY w)N� r z1take\(\) got an unexpected keyword argument 'foo'r )�fooz$the 'out' parameter is not supported)�outz%the 'mode' parameter is not supported�clip)�mode)r r � TypeErrorr �
ValueError)r �indicesr s r �test_take_invalid_kwargsr s� � ��!�f�G�
>�C� ���y�� ,� !�����a�� �!� 1�C� ���z�� -� '�����g��&�'� 2�C� ���z�� -� '�����v��&�'� '�!� !��'� '��'� '�s# �B1�B=�C �1B:�=C� Cc � � ddgt j d� t j d� gg} t j j | ddg�� }|j t j g d�� � }dt j d� fdt j d� fdt j d� fg}t j j |ddg�� }t j ||� |j t j g d�� d �
� }dt j d� fdt j d� ft
j t j fg}t j j |ddg�� }t j ||� |j t j g d�� dd �� }dt j d� fdt j d� fdt j d� fg}t j j |ddg�� }t j ||� d
}t j t |�� 5 |j t j g d�� d �
� d d d � t j t |�� 5 |j t j g d�� d �
� d d d � d}t j t |�� 5 |j t j ddg� � d d d � y # 1 sw Y ��xY w# 1 sw Y �bxY w# 1 sw Y y xY w)N�A�Bz
2011-01-01z
2011-01-02�str�dt)�names)r r ���T)�
fill_valueF)�
allow_fillr'