o
    Ti                     @   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randomZdefault_rngZstandard_normalr   Zptp)selfNZarrZser r	   `/var/www/html/evchargy.com/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)Z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   Zint64ZargwhereZastypearraytmZassert_numpy_array_equal)r   sresultexpectedr	   r	   r
   test_numpy_argwhere   s   r!   )__doc__numpyr   ZpytestZpandasr   Zpandas._testingZ_testingr   r   r   markZparametrizer!   r	   r	   r	   r
   <module>   s    	