
    Eg
                     :   d dl Zd dlZd dlmZmZmZ d dlmZ	 ej
                            dg dg dfddej        dd	ej        ej         d
ddej         gg dfdd	ej        dd	ej        ej        d
ej         dej        gg dfg          d             Zej
                            dg dg dfej        dej         ej        d	dej         d
dej         ej         gg dfdd	ej        dd	ej        ej        d
ej         dej        gg dfg          d             ZdS )    N)	DataFrameIndexSerieszin_vals, out_vals)            r   r      r   ir   r   )TFFTr   g @r	   r   r      )TFTF)FFFFc                    g dg d| d}t          |          }|                    d          j        j        }t	          t          d          d          }t          ||d          }t          j        ||           |                    dg          j        	                    d	           }t          j        ||           d S )
N1234567891011ar   r   br   r   cr   r   dr   ABCr    abcdnamer!   indexdatar$   c                     | j         S )N)is_monotonic_increasing)xs    c/var/www/sysmax/venv/lib/python3.11/site-packages/pandas/tests/groupby/methods/test_is_monotonic.py<lambda>z.test_is_monotonic_increasing.<locals>.<lambda>,   s	    13L     )
r   groupbyr!   r)   r   listr   tmassert_series_equalapplyin_valsout_valssource_dictdfresultr&   expecteds          r+   test_is_monotonic_increasingr:      s    * GFFDDD K
 
;		BZZ__6F$v,,S)))EEs;;;H68,,, zz3%  "(()L)LMMH68,,,,,r-   )
   	      r	   r
   r   r   r   r   r   r>   )TTFTc                     g dg d| d}t          |          }|                    d          j        j        }t	          t          d          d          }t          ||d          }t          j        ||           d S )	Nr   r   r   r    r"   r#   r!   r%   )	r   r.   r!   is_monotonic_decreasingr   r/   r   r0   r1   r3   s          r+   test_is_monotonic_decreasingrA   0   s    * GFFDDD K 
;		BZZ__6F$v,,S)))EEs;;;H68,,,,,r-   )numpynppytestpandasr   r   r   pandas._testing_testingr0   markparametrizeinfnanr:   rA    r-   r+   <module>rM      s                
        
,	+	+-G-G-GH RVQ26BF7Ar1rvgF&&&	
 261aRVGQG(((	
 $- -% $-$  
-	,	,.H.H.HI VQBB"&Q%%%	
 261aRVGQG(((	
 $- -% $- - -r-   