o
    ҷh                     @   sd   d Z ddlZddlZddlmZ ddlmZ G dd dZ	dd Z
ejdg d	dgd
d ZdS )z=
Tests for np.foo applied to Series, not necessarily ufuncs.
    N)Seriesc                   @   s   e Zd Zdd ZdS )TestPtpc                 C   s:   d}t jd|}t|}t |t |ksJ d S )Ni     )nprandomdefault_rngstandard_normalr   ptp)selfNarrser r   S/var/www/html/venv/lib/python3.10/site-packages/pandas/tests/series/test_npfuncs.pytest_ptp   s   zTestPtp.test_ptpN)__name__
__module____qualname__r   r   r   r   r   r      s    r   c                 C   s   t |  d S )N)r   unique)datetime_seriesr   r   r   test_numpy_unique   s   r   index)abcdec                 C   sR   t td| tjd}t|dktj}tjdgdggtjd}t|| d S )N   )r   dtyper         )r   )	r   ranger   int64argwhereastypearraytmassert_numpy_array_equal)r   sresultexpectedr   r   r   test_numpy_argwhere   s   r+   )__doc__numpyr   pytestpandasr   pandas._testing_testingr&   r   r   markparametrizer+   r   r   r   r   <module>   s    	