Ë
    ž…jwZ  ã                   ó„  — d dl Z d dlZd dlZd dlZd dlmZ d dlmZm	Z	m
Z
mZ d dlmZ d dlmZ  ej"                  ddgddg e
d¬«      d„ g d	¢ ej$                  g d	¢«       e e ed
«      g d	¢d¬«      «       eg d¢«       eg d¢«       eg d¢«      gg
¬«      d„ «       Z ej"                  ddg¬«      d„ «       Zej"                  d„ «       Zej"                  d„ «       Zej"                  d„ «       Z	 d*d„Zej8                  j;                  dg d¢«      d„ «       Zej8                  j;                  dddg«      d„ «       Zej8                  j;                  dddg«      ej8                  j;                  dej@                  ejB                  g«      d„ «       «       Z"ej8                  j;                  dg d¢«      d„ «       Z#ej8                  j;                  dddg«      d „ «       Z$ej8                  j;                  dddg«      ej8                  j;                  dej@                  ejB                  g«      d!„ «       «       Z%ej8                  j;                  d"g d#¢«      d$„ «       Z&ej8                  j;                  dg d¢«      d%„ «       Z'ej8                  j;                  dddg«      d&„ «       Z(ej8                  j;                  dddg«      ej8                  j;                  dej@                  ejB                  g«      d'„ «       «       Z)ej8                  jU                  d(«      ej8                  j;                  dg d¢«      d)„ «       «       Z+y)+é    N)ÚPandas4Warning)ÚCategoricalÚ	DataFrameÚGrouperÚSeries)Úget_groupby_method_argsÚaÚb)Úkeyc                 ó   — | dz  S )Né   © ©Úxs    úa/root/aria/tools/markitdown-venv/lib/python3.12/site-packages/pandas/tests/groupby/test_raises.pyú<lambda>r      s
   € �!�a‘%€ ó    )	r   r   r   é   r   r   r   é   r   é	   T)Ústrict©	r   r   r   r   r   r   r   r   r   ©	r   r   é   r   r   r   r   r   r   )Úparamsc                 ó   — | j                   S ©N©Úparam©Úrequests    r   Úbyr"      s   € ð �=‰=Ðr   Fc                 ó   — | j                   S r   r   r    s    r   Úgroupby_seriesr$   )   s   € à�=‰=Ðr   c                  óR   — t        g d¢g d¢t        d«      t        d«      dœ«      } | S )Nr   r   r   Ú	xyzwtyuio©r	   r
   ÚcÚd)r   ÚrangeÚlist©Údfs    r   Údf_with_string_colr.   .   s-   € ä	â,Ú,Ü�q“Ü�kÓ"ñ		
ó
€Bð €Ir   c                  ór   — t        g d¢g d¢t        d«      t        j                  ddddddd	«      d
œ«      } | S )Nr   r   r   iÕ  r   é
   é   é   i`= r'   )r   r*   Údatetimer,   s    r   Údf_with_datetime_colr4   ;   s?   € ä	â,Ú,Ü�q“Ü×"Ñ" 4¨¨A¨r°2°r¸6ÓBñ		
ó
€Bð €Ir   c            
      ó`   — t        g d¢g d¢t        d«      t        g d¢g d¢d¬«      dœ«      } | S )Nr   r   r   ©	r	   r	   r	   r	   r
   r
   r
   r
   r(   r'   T©Ú
categoriesÚordered)r   r*   r   r,   s    r   Údf_with_cat_colr:   H   s6   € ä	â,Ú,Ü�q“ÜÚ=Ú/Øôñ			
ó
€Bð €Ir   c                 óÀ  — t        j                  ||d¬«      5  | €B|dk(  r t        ||«      |Ž  nŽ|dk(  r |j                  |g|¢­Ž  nu |j                  |g|¢­Ž  nat        j                  | |¬«      5  |dk(  r t        ||«      |Ž  n,|dk(  r |j                  |g|¢­Ž  n |j                  |g|¢­Ž  d d d «       d d d «       y # 1 sw Y   ŒxY w# 1 sw Y   y xY w)NF)ÚmatchÚcheck_stacklevelÚmethodÚagg©r<   )ÚtmÚassert_produces_warningÚgetattrr?   Ú	transformÚpytestÚraises)ÚklassÚmsgÚhowÚgbÚgroupby_funcÚargsÚwarn_categoryÚwarn_msgs           r   Ú_call_and_checkrO   Y   sç   € ô 
×	#Ñ	#Ø˜X¸ô
ñ 6ð ˆ=Ø�hŠØ)”˜˜LÓ)¨4Ò0Ø˜’Ø�—‘�|Ð+ dÔ+à�—‘˜\Ð1¨DÔ1ä—‘˜u¨CÔ0ñ 6Ø˜(’?Ø-”G˜B Ó-¨tÒ4Ø˜E’\Ø�B—F‘F˜<Ð/¨$Ô/à �B—L‘L Ð5°Ó5÷6÷6ð 6÷6ð 6ú÷6ð 6ús%   ™ACÁ5ACÂ7CÃC	ÃCÃCrI   )r>   r?   rD   c           
      ó$  — |}t        ||«      }|j                  |¬«      }|r|d   }|dk(  rt        |d«      rJ ‚y i dd“dd“dd“dt        df“d	d“d
d“dt        t        fdf“dt        t        fdf“dt        t        fdf“dt        t        fdf“dt        df“dd“dd“dd“dd“dd“dd“i dt        t        j                  d«      f“dt        t        j                  d«      f“dd“d d“d!d“d"t        df“d#t        t        j                  d$«      f“d%t        d&f“d'd“d(t        d)f“d*d“d+d“d,t        d)f“d-t        d)f“d.t        d)f“d/d“d0t        t        j                  d1«      f“¥|   \  }	}
|r{|d2v rd3|› d4�}
|d5v rmt        }	nf|d"k(  r|d   j                  j                  d6k(  rd7}
nB|dk(  r|d   j                  j                  d6k(  rd8}
n|d9v r|
j                  d:d;«      }
n|dk(  rd<}
|dk(  r	t        }d=}nd }d>}t        |	|
| |||||«       y )?N©r"   r)   ÚcorrwithÚall©NÚ ÚanyÚbfillzCould not convertÚcountÚcumcountÚcummaxzH(function|cummax) is not (implemented|supported) for (this|object) dtypeÚcumminzH(function|cummin) is not (implemented|supported) for (this|object) dtypeÚcumprodzI(function|cumprod) is not (implemented|supported) for (this|object) dtypeÚcumsumzH(function|cumsum) is not (implemented|supported) for (this|object) dtypeÚdiffúunsupported operand typeÚffillÚfirstÚidxmaxÚidxminÚlastÚmaxÚmeanz-agg function failed [how->mean,dtype->object]Úmedianz/agg function failed [how->median,dtype->object]ÚminÚngroupÚnuniqueÚ
pct_changeÚprodz-agg function failed [how->prod,dtype->object]Úquantilez4dtype 'object' does not support operation 'quantile'ÚrankÚsemz!could not convert string to floatÚshiftÚsizeÚskewÚkurtÚstdÚsumÚvarz%agg function failed [how->var,dtype->)rl   rf   rg   r]   r\   rt   ro   rv   rr   rs   rm   z(dtype 'str' does not support operation 'ú')ro   rt   rr   rs   ÚpyarrowzBoperation 'truediv' not supported for dtype 'str' with dtype 'str'z>operation 'sub' not supported for dtype 'str' with dtype 'str')r[   rZ   ÚobjectÚstrz1Cannot perform reduction 'mean' with string dtypeú'DataFrameGroupBy.corrwith is deprecatedrU   )r   ÚgroupbyÚhasattrÚ	TypeErrorÚNotImplementedErrorÚreÚescapeÚ
ValueErrorÚdtypeÚstorageÚreplacer   rO   )rI   r"   r$   rK   r.   Úusing_infer_stringr-   rL   rJ   rG   rH   rM   rN   s                r   Útest_groupby_raises_stringr‡   p   sž  € ð 
€BÜ" <°Ó4€DØ	�‰�rˆÓ	€BáØ�‰Wˆà˜:Ò%Ü˜r :Ô.Ð.Ð.Øð;Øˆzð;àˆzð;ð 	�ð;ð 	”YÐ 3Ð4ð	;ð
 	�ð;ð 	�Jð;ð 	Ü ¤)Ð,ØVð
ð;ð 	Ü ¤)Ð,ØVð
ð;ð 	Ü ¤)Ð,ØWð
ð;ð& 	Ü ¤)Ð,ØVð
ð';ð. 	”Ð6Ð7ð/;ð0 	�ð1;ð2 	�ð3;ð4 	�*ð5;ð6 	�*ð7;ð8 	�
ð9;ð: 	ˆzñ;;ð< 	ÜÜ�I‰IÐEÓFð
ð=;ðD 	ÜÜ�I‰IÐGÓHð
ðE;ðL 	ˆzðM;ðN 	�*ðO;ðP 	�:ðQ;ðR 	”yÐ"<Ð=ðS;ðT 	ÜÜ�I‰IÐEÓFð
ðU;ð\ 	”YÐ VÐWð];ð^ 	�
ð_;ð` 	”
Ð?Ð@ða;ðb 	�ðc;ðd 	�
ðe;ðf 	”Ð@ÐAðg;ðh 	”Ð@ÐAði;ðj 	”
Ð?Ð@ðk;ðl 	ˆzðm;ðn 	ÜÜ�I‰IÐ=Ó>ð
ño;ðv ñw;�J€Eˆ3ñz Øð 
ñ 
ð =¸\¸NÈ!ÐLˆCØÐ=Ñ=ä!‘Ø˜\Ò)¨b°©g¯m©m×.CÑ.CÀyÒ.Pð W‰CØ˜VÒ#¨¨3©¯©×(=Ñ(=ÀÒ(Jð S‰CàÐ1Ñ1Ø—+‘+˜h¨Ó.‰CØ˜ZÒ'ØEˆCà�zÒ!Ü&ˆØ<‰àˆØˆÜ�E˜3  R¨°t¸]ÈHÕUr   r?   rD   c                 óÄ   — |}|j                  |¬«      }|r|d   }d„ }t        j                  t        d¬«      5   t	        || «      |«       d d d «       y # 1 sw Y   y xY w)NrQ   r)   c                 ó   — t        d«      ‚©NúTest error message©r~   r   s    r   Úfuncz,test_groupby_raises_string_udf.<locals>.funcí   ó   € ÜÐ,Ó-Ð-r   r‹   r@   ©r|   rE   rF   r~   rC   )rI   r"   r$   r.   r-   rJ   r�   s          r   Útest_groupby_raises_string_udfr�   å   s_   € à	€BØ	�‰�rˆÓ	€BáØ�‰Wˆò.ô 
�‰”yÐ(<Ô	=ñ ØŒ��CÓ˜Ô÷÷ ñ úó   ºAÁAÚgroupby_func_npc                 ó
  — |}|j                  |¬«      }|r|d   }t        j                  dt        j                  t        dfi|   \  }}	|r(|t        j                  u rt        }d|j
                  › d�}	t        ||	| ||d«       y )NrQ   r)   rT   zXCould not convert string .* to numeric|Cannot perform reduction 'mean' with string dtypezCannot perform reduction 'z' with string dtyper   )r|   Únpru   rf   r~   Ú__name__rO   )
rI   r"   r$   r’   r.   r†   r-   rJ   rG   rH   s
             r   Útest_groupby_raises_string_npr–   ô   s˜   € ð 
€BØ	�‰�rˆÓ	€BáØ�‰Wˆô 	�‰�
Ü
�‰Üð@ð
ðð ñ�J€Eˆ3ñ ØœbŸg™gÑ%ÜˆEØ*¨?×+CÑ+CÐ*DÐDWÐXˆä�E˜3  R¨¸"Õ=r   c           
      ój  — |}t        ||«      }|j                  |¬«      }|r|d   }|dk(  rt        |d«      rJ ‚y i dt        df“dt        df“dd	“dt        d
f“dd	“dd	“dd	“dd	“dt        df“dt        df“dd	“dd	“dd	“dd	“dd	“dd	“dd	“i dd	“dd	“dd	“dd	“dd	“dt        d f“d!t        d"f“d#d	“d$d	“d%d	“d&d	“d'd	“d(t        d)j	                  d*d+g«      f“d,t        d)j	                  d*d-g«      f“d.d	“d/t        d0f“d1t        d2f“¥|   \  }}	|dk(  r	t
        }
d3}nd }
d4}t        ||	| ||||
|«       y )5NrQ   r)   rR   rS   z3'all' with datetime64 dtypes is no longer supportedrV   z3'any' with datetime64 dtypes is no longer supportedrW   rT   z+cannot perform __mul__ with this index typerX   rY   rZ   r[   r\   z4datetime64 type does not support operation 'cumprod'r]   z3datetime64 type does not support operation 'cumsum'r^   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   z/cannot perform __truediv__ with this index typerl   z1datetime64 type does not support operation 'prod'rm   rn   ro   rp   rq   rr   ú|z1dtype datetime64\[ns\] does not support operationz1datetime64 type does not support operation 'skew'rs   z1datetime64 type does not support operation 'kurt'rt   ru   z/datetime64 type does not support operation 'sumrv   z0datetime64 type does not support operation 'var'r{   rU   )r   r|   r}   r~   Újoinr   rO   )rI   r"   r$   rK   r4   r-   rL   rJ   rG   rH   rM   rN   s               r   Útest_groupby_raises_datetimerš     s¤  € ð 
€BÜ" <°Ó4€DØ	�‰�rˆÓ	€BáØ�‰Wˆà˜:Ò%Ü˜r :Ô.Ð.Ð.Øð3Ø”	ÐPÐQð3à”	ÐPÐQð3ð 	�ð3ð 	”YÐ MÐNð	3ð
 	�ð3ð 	�Jð3ð 	�*ð3ð 	�*ð3ð 	”IÐUÐVð3ð 	”9ÐSÐTð3ð 	�
ð3ð 	�ð3ð 	�ð3ð 	�*ð3ð 	�*ð3ð  	�
ð!3ð" 	ˆzñ#3ð$ 	�
ð%3ð& 	�*ð'3ð( 	ˆzð)3ð* 	�*ð+3ð, 	�:ð-3ð. 	”yÐ"SÐTð/3ð0 	”ÐOÐPð13ð2 	�Jð33ð4 	�
ð53ð6 	ˆzð73ð8 	�ð93ð: 	�
ð;3ð< 	ÜØ�H‰HàHØGðóð
ð=3ðN 	ÜØ�H‰HàHØGðóð
ðO3ð` 	ˆzða3ðb 	”	ÐLÐMðc3ðd 	”	ÐMÐNñe3ðf ñg3�J€Eˆ3ðj �zÒ!Ü&ˆØ<‰àˆØˆÜ�E˜3  R¨°t¸]ÈHÕUr   c                 óÄ   — |}|j                  |¬«      }|r|d   }d„ }t        j                  t        d¬«      5   t	        || «      |«       d d d «       y # 1 sw Y   y xY w)NrQ   r)   c                 ó   — t        d«      ‚rŠ   rŒ   r   s    r   r�   z.test_groupby_raises_datetime_udf.<locals>.funck  rŽ   r   r‹   r@   r�   )rI   r"   r$   r4   r-   rJ   r�   s          r   Ú test_groupby_raises_datetime_udfr�   c  s_   € à	€BØ	�‰�rˆÓ	€BáØ�‰Wˆò.ô 
�‰”yÐ(<Ô	=ñ ØŒ��CÓ˜Ô÷÷ ñ úr‘   c                 óÜ   — |}|j                  |¬«      }|r|d   }t        j                  t        t	        j
                  d«      ft        j                  di|   \  }}t        ||| ||d«       y )NrQ   r)   z/datetime64[us] does not support operation 'sum'rT   r   )r|   r”   ru   r~   r€   r�   rf   rO   )	rI   r"   r$   r’   r4   r-   rJ   rG   rH   s	            r   Útest_groupby_raises_datetime_nprŸ   r  sw   € ð 
€BØ	�‰�rˆÓ	€BáØ�‰Wˆô 	�‰ÜÜ�I‰IÐGÓHð
ô 	�‰�ðð ñ�J€Eˆ3ô �E˜3  R¨¸"Õ=r   r�   )rl   r\   rr   rs   rv   c                 ó²   — t        g d¢g d¢t        d«      t        j                  d¬«      dœ«      }|j	                  d¬«      }t        t        d	d
|| g «       y )Nr   r   r   r   )Údaysr'   r	   rQ   z/timedelta64 type does not support .* operationsr>   )r   r*   r3   Ú	timedeltar|   rO   r~   )r�   r-   rJ   s      r   Útest_groupby_raises_timedeltar£   ˆ  sX   € ä	â,Ú,Ü�q“Ü×#Ñ#¨Ô+ñ		
ó
€Bð 
�‰�sˆÓ	€BäÜØ9ØØ
ØØ
õr   c           
      óŒ  — |}t        ||«      }|j                  |¬«      }|r|d   }|dk(  rt        |d«      rJ ‚y i dd“dd“dd“dt        df“d	d“d
d“dt        t        fdf“dt        t        fdf“dt        t        fdf“dt        t        fdf“dt        df“dd“dd“dd“dd“dd“dd“i dt        dj                  ddg«      f“dt        dj                  d d!g«      f“d"d“d#d“d$d“d%t        d&f“d't        d(f“d)t        d*f“d+d“d,t        dj                  d-d.g«      f“d/d“d0d“d1t        dj                  d2d3g«      f“d4t        dj                  d5d6g«      f“d7t        dj                  d8d9g«      f“d:t        d;f“d<t        dj                  d=d>g«      f“¥|   \  }}	|dk(  r	t        }
d?}nd }
d@}t        ||	| ||||
|«       y )ANrQ   r)   rR   rS   rT   rV   rW   ú=unsupported operand type\(s\) for \*: 'Categorical' and 'int'rX   rY   rZ   zz(category type does not support cummax operations|category dtype not supported|cummax is not supported for category dtype)r[   zz(category type does not support cummin operations|category dtype not supported|cummin is not supported for category dtype)r\   z|(category type does not support cumprod operations|category dtype not supported|cumprod is not supported for category dtype)r]   zz(category type does not support cumsum operations|category dtype not supported|cumsum is not supported for category dtype)r^   zDunsupported operand type\(s\) for -: 'Categorical' and 'Categorical'r`   ra   rb   rc   rd   re   rf   r˜   z2'Categorical' .* does not support operation 'mean'ú2category dtype does not support aggregation 'mean'rg   z4'Categorical' .* does not support operation 'median'ú4category dtype does not support aggregation 'median'rh   ri   rj   rk   zDunsupported operand type\(s\) for /: 'Categorical' and 'Categorical'rl   ú.category type does not support prod operationsrm   úNo matching signature foundrn   ro   ú1'Categorical' .* does not support operation 'sem'ú1category dtype does not support aggregation 'sem'rp   rq   rr   ú0dtype category does not support operation 'skew'ú.category type does not support skew operationsrs   ú0dtype category does not support operation 'kurt'ú.category type does not support kurt operationsrt   ú1'Categorical' .* does not support operation 'std'ú1category dtype does not support aggregation 'std'ru   ú-category type does not support sum operationsrv   ú1'Categorical' .* does not support operation 'var'ú1category dtype does not support aggregation 'var'r{   rU   )r   r|   r}   r~   r   r™   r   rO   )rI   r"   r$   rK   r:   r-   rL   rJ   rG   rH   rM   rN   s               r   Útest_groupby_raises_categoryrµ   ž  s¸  € ð
 
€BÜ" <°Ó4€DØ	�‰�rˆÓ	€BáØ�‰Wˆà˜:Ò%Ü˜r :Ô.Ð.Ð.ØðxØˆzðxàˆzðxð 	�ðxð 	ÜØLð
ð	xð 	�ðxð 	�Jðxð 	Ü ¤)Ð,ð:ð
ðxð  	Ü ¤)Ð,ð:ð
ð!xð, 	Ü ¤)Ð,ð;ð
ð-xð8 	Ü ¤)Ð,ð:ð
ð9xðD 	ÜØSð
ðExðL 	�ðMxðN 	�ðOxðP 	�*ðQxðR 	�*ðSxðT 	�
ðUxðV 	ˆzñWxðX 	ÜØ�H‰HàHØHðóð
ðYxðj 	ÜØ�H‰HàJØJðóð
ðkxð| 	ˆzð}xð~ 	�*ðxð@ 	�:ðAxðB 	ÜØSð
ðCxðJ 	”ÐLÐMðKxðL 	”YÐ =Ð>ðMxðN 	�
ðOxðP 	ÜØ�H‰HàGØGðóð
ðQxðb 	�ðcxðd 	�
ðexðf 	ÜØ�H‰HàFØDðóð
ðgxðx 	ÜØ�H‰HàFØDðóð
ðyxðJ 	ÜØ�H‰HàGØGðóð
ðKxð\ 	”	ÐJÐKð]xð^ 	ÜØ�H‰HàGØGðóð
ñ_xðp ñqx�J€Eˆ3ðt �zÒ!Ü&ˆØ<‰àˆØˆÜ�E˜3  R¨°t¸]ÈHÕUr   c                 óÄ   — |}|j                  |¬«      }|r|d   }d„ }t        j                  t        d¬«      5   t	        || «      |«       d d d «       y # 1 sw Y   y xY w)NrQ   r)   c                 ó   — t        d«      ‚rŠ   rŒ   r   s    r   r�   z.test_groupby_raises_category_udf.<locals>.func:  rŽ   r   r‹   r@   r�   )rI   r"   r$   r:   r-   rJ   r�   s          r   Ú test_groupby_raises_category_udfr¸   1  sa   € ð 
€BØ	�‰�rˆÓ	€BáØ�‰Wˆò.ô 
�‰”yÐ(<Ô	=ñ ØŒ��CÓ˜Ô÷÷ ñ úr‘   c                 óÂ   — |}|j                  |¬«      }|r|d   }t        j                  t        dft        j                  t        dfi|   \  }}t        ||| ||d«       y )NrQ   r)   z/dtype category does not support operation 'sum'z0dtype category does not support operation 'mean'r   )r|   r”   ru   r~   rf   rO   )	rI   r"   r$   r’   r:   r-   rJ   rG   rH   s	            r   Útest_groupby_raises_category_nprº   A  sq   € ð 
€BØ	�‰�rˆÓ	€BáØ�‰Wˆô 	�‰”ÐMÐNÜ
�‰ÜØ>ð
ðð ñ�J€Eˆ3ô �E˜3  R¨¸"Õ=r   z$ignore:In a future version, the keysc           
      ó  — |}t        g d¢g d¢d¬«      |d<   t        ||«      }|j                  ||¬«      }|r|d   }|dk(  rt        |d«      rJ ‚y | xr* t	        d	„ |j
                  j                  «       D «       «      }	| d
k(  rd}	i dd“dd“dd“dt        df“dd“dd“dt        t        fdf“dt        t        fdf“dt        t        fdf“dt        t        fdf“dt        df“dd“dd“d|	rt        d fnd“d!|	rt        d fnd“d"d“d#d“i d$t        d%f“d&t        d'f“d(d“d)d“d*d“d+t        df“d,t        d-f“d.t        d/f“d0d“d1t        d2j                  d3d4g«      f“d5d“d6d“d7t        d2j                  d8d9g«      f“d:t        d2j                  d;d<g«      f“d=t        d2j                  d>d?g«      f“d@t        dAf“dBt        d2j                  dCdDg«      f“¥|   \  }
}|dk(  r	t        }dE}nd }dF}t        |
|| |||||«       y )GNr6   r'   Tr7   r	   )r"   Úobservedr)   rR   c              3   ó4   K  — | ]  }|j                   –— Œ y ­wr   )Úempty)Ú.0Úgroups     r   ú	<genexpr>z;test_groupby_raises_category_on_category.<locals>.<genexpr>r  s   è ø€ Ò'T¸¨¯­Ñ'Tùs   ‚rD   FrS   rT   rV   rW   r¥   rX   rY   rZ   zz(cummax is not supported for category dtype|category dtype not supported|category type does not support cummax operations)r[   zz(cummin is not supported for category dtype|category dtype not supported|category type does not support cummin operations)r\   z|(cumprod is not supported for category dtype|category dtype not supported|category type does not support cumprod operations)r]   zz(cumsum is not supported for category dtype|category dtype not supported|category type does not support cumsum operations)r^   r_   r`   ra   rb   z(empty group due to unobserved categoriesrc   rd   re   rf   r¦   rg   r§   rh   ri   rj   rk   rl   r¨   rm   r©   rn   ro   r˜   rª   r«   rp   rq   rr   r­   r¬   rs   r¯   r®   rt   r°   r±   ru   r²   rv   r³   r´   r{   rU   )r   r   r|   r}   rV   ÚgroupsÚvaluesr~   r   r‚   r™   r   rO   )rI   r"   r$   rK   r¼   r:   r-   rL   rJ   Úempty_groupsrG   rH   rM   rN   s                 r   Ú(test_groupby_raises_category_on_categoryrÅ   W  sò  € ð 
€BÜÚ5Ú'Øô€B€s�Gô
 # <°Ó4€DØ	�‰�r HˆÓ	-€BáØ�‰Wˆà˜:Ò%Ü˜r :Ô.Ð.Ð.Øà�<ÒT¤CÑ'TÀÇÁ×AQÑAQÓASÔ'TÓ$T€LØ
ˆkÒàˆðfØˆzðfàˆzðfð 	�ðfð 	ÜØLð
ð	fð 	�ðfð 	�Jðfð 	Ü ¤)Ð,ð@ð
ðfð  	Ü ¤)Ð,ð@ð
ð!fð, 	Ü ¤)Ð,ðAð
ð-fð8 	Ü ¤)Ð,ð@ð
ð9fðD 	”Ð6Ð7ðEfðF 	�ðGfðH 	�ðIfðJ 	Ùô ÐIÑJàðOfðP 	Ùô ÐIÑJàðUfðV 	�
ðWfðX 	ˆzñYfðZ 	”ÐPÐQð[fð\ 	”9ÐTÐUð]fð^ 	ˆzð_fð` 	�*ðafðb 	�:ðcfðd 	”yÐ"<Ð=ðefðf 	”ÐLÐMðgfðh 	”YÐ =Ð>ðifðj 	�
ðkfðl 	ÜØ�H‰HàGØGðóð
ðmfð~ 	�ðfð@ 	�
ðAfðB 	ÜØ�H‰HàDØFðóð
ðCfðT 	ÜØ�H‰HàDØFðóð
ðUfðf 	ÜØ�H‰HàGØGðóð
ðgfðx 	”	ÐJÐKðyfðz 	ÜØ�H‰HàGØGðóð
ñ{fðL ñMf�J€Eˆ3ðP �zÒ!Ü&ˆØ<‰àˆØˆÜ�E˜3  R¨°t¸]ÈHÕUr   rT   ),r3   r€   Únumpyr”   rE   Úpandas.errorsr   Úpandasr   r   r   r   Úpandas._testingÚ_testingrA   Úpandas.tests.groupbyr   ÚfixtureÚarrayÚdictÚzipr*   r"   r$   r.   r4   r:   rO   ÚmarkÚparametrizer‡   r�   ru   rf   r–   rš   r�   rŸ   r£   rµ   r¸   rº   ÚfilterwarningsrÅ   r   r   r   ú<module>rÓ      sƒ  ðó
 Û 	ã Û å (÷ó õ Ý 8ð €‡�àØ	ˆØ	ˆcˆ
Ù�CÔÙÚ#Øˆ�‰Ò,Ó-Ù‰S‘�q“Ò6¸tÔDÓEÙÒ*Ó+Ù	Ò+Ó	,©fÒ5PÓ.QÐRðôñóðð €‡�˜˜e�}Ô%ñó &ðð ‡�ñ	ó ð	ð ‡�ñ	ó ð	ð ‡�ñó ðð" KMó6ð. ‡�×Ñ˜Ò >Ó?ñqVó @ðqVðh ‡�×Ñ˜ ¨Ð 4Ó5ñó 6ðð ‡�×Ñ˜ ¨Ð 4Ó5Ø‡�×ÑÐ*¨R¯V©V°R·W±WÐ,=Ó>ñ>ó ?ó 6ð>ð@ ‡�×Ñ˜Ò >Ó?ñIVó @ðIVðX ‡�×Ñ˜ ¨Ð 4Ó5ñó 6ðð ‡�×Ñ˜ ¨Ð 4Ó5Ø‡�×ÑÐ*¨R¯V©V°R·W±WÐ,=Ó>ñ>ó ?ó 6ð>ð( ‡�×Ñ˜Ò!KÓLñó Mðð* ‡�×Ñ˜Ò >Ó?ñOVó @ðOVðd ‡�×Ñ˜ ¨Ð 4Ó5ñó 6ðð ‡�×Ñ˜ ¨Ð 4Ó5Ø‡�×ÑÐ*¨R¯V©V°R·W±WÐ,=Ó>ñ>ó ?ó 6ð>ð( ‡�×ÑÐBÓCØ‡�×Ñ˜Ò >Ó?ñLVó @ó DñLVr   