Ë
    u™ãj¸
  ã                   óH   — d dl Zd dlZd dlmZ d dlZd dlmZ	  G d„ d«      Z
y)é    N)ÚPandas4Warningc                   ó$   — e Zd Zd„ Zd„ Zd„ Zd„ Zy)Ú
TestFillNAc                 ój  — t        j                  dt        j                  ddgd¬«      }t        j                  g d¢d¬«      }t	        j
                  |j                  d«      |«       |j                  }d}t        j                  t        |¬«      5  |j                  d«       d d d «       d	}t	        j                  t        |¬«      5  |j                  d«      }d d d «       |j                  t        «      j                  d«      }t	        j
                  |«       y # 1 sw Y   Œ{xY w# 1 sw Y   ŒPxY w)
Nç      ð?ç      @Úx)Úname)r   r   r   r   ú3Cannot setitem on a Categorical with a new category©Úmatchg       @z;'float' is not supported as a fill value for category dtype)ÚpdÚCategoricalIndexÚnpÚnanÚtmÚassert_index_equalÚfillnaÚ_dataÚpytestÚraisesÚ	TypeErrorÚassert_produces_warningr   ÚastypeÚobject)ÚselfÚidxÚexpÚcatÚmsgÚdepr_msgÚresultÚexpecteds           úw/var/www/html/python-recuperauto-other/env/lib/python3.12/site-packages/pandas/tests/indexes/categorical/test_fillna.pyÚtest_fillna_categoricalz"TestFillNA.test_fillna_categorical   sî   € ä×!Ñ! 3¬¯©°°SÐ"9ÀÔDˆä×!Ñ!Ò"6¸SÔAˆÜ
×Ñ˜cŸj™j¨›o¨sÔ3à�i‰iˆð DˆÜ�]‰]œ9¨CÔ0ñ 	Ø�J‰J�sŒO÷	ð QˆÜ×'Ñ'¬¸hÔGñ 	%Ø—Z‘Z “_ˆF÷	%à—:‘:œfÓ%×,Ñ,¨SÓ1ˆÜ
×Ñ˜f hÕ/÷	ð 	ú÷	%ð 	%ús   ÂDÃD)ÄD&Ä)D2c                 ó^  — t        j                  g d¢«      }|j                  d«      }||usJ ‚t        j                  ||«      sJ ‚|j
                  }|j                  d«      }|j                  |j                  usJ ‚|j                  j                  �J ‚t        j                  ||«      rJ ‚y )N)r   é   r'   r   )r   r   r   r   Úshares_memoryr   Ú_ndarrayÚbase)r   Úcir"   r   s       r$   Útest_fillna_copies_with_no_nasz)TestFillNA.test_fillna_copies_with_no_nas   s¢   € ô × Ñ ¢Ó+ˆØ—‘˜1“ˆØ˜RÑÐÐÜ×Ñ ¨Ô+Ð+Ð+ð �h‰hˆØ—‘˜A“ˆØ�‰ c§l¡lÑ2Ð2Ð2Ø�‰×#Ñ#Ð+Ð+Ð+Ü×#Ñ# F¨CÔ0Ð0Ð0Ð0ó    c                 ó°  — t        j                  ddt         j                  g«      }|j                  d«      }t        j                  g d¢«      }t	        j
                  ||«       d}t	        j                  t        |¬«      5  |j                  d«      }d d d «       t        j                  g d¢d¬	«      }t	        j
                  ||«       y # 1 sw Y   Œ9xY w)
N©r   r'   ©r'   é   )r/   r0   r/   z;'tuple' is not supported as a fill value for category dtyper   ©é	   r3   )r/   r0   r2   F)Útupleize_cols)	r   r   ÚNAr   r   r   r   r   ÚIndex)r   r+   r"   r#   r    s        r$   Útest_fillna_tuple_categoryz%TestFillNA.test_fillna_tuple_category.   s¨   € ä× Ñ  &¨&´"·%±%Ð!8Ó9ˆØ—‘˜6Ó"ˆÜ×&Ñ&Ò'?Ó@ˆÜ
×Ñ˜f hÔ/ð LˆÜ×'Ñ'¬¸cÔBñ 	'Ø—Y‘Y˜vÓ&ˆF÷	'ä—8‘8Ò4ÀEÔJˆÜ
×Ñ˜f hÕ/÷	'ð 	'ús   ÂCÃCc                 ó  — t        j                  g d¢«      }|j                  }d}|j                  d«      }t	        j
                  ||«       t        j                  t        |¬«      5  |j                  d«       d d d «       y # 1 sw Y   y xY w)N)r1   é   r9   r   Fr   )	r   r   r   r   r   r   r   r   r   )r   r+   r   r    Úress        r$   Ú!test_fillna_validates_with_no_nasz,TestFillNA.test_fillna_validates_with_no_nas<   so   € ä× Ñ ¢Ó+ˆØ�h‰hˆàCˆØ�i‰i˜Óˆä
×Ñ˜c 2Ô&ô �]‰]œ9¨CÔ0ñ 	Ø�J‰J�uÔ÷	÷ 	ñ 	ús   Á(BÂBN)Ú__name__Ú
__module__Ú__qualname__r%   r,   r7   r;   © r-   r$   r   r   
   s   „ ò0ò(1ò0ór-   r   )Únumpyr   r   Úpandas.errorsr   Úpandasr   Úpandas._testingÚ_testingr   r   r?   r-   r$   ú<module>rE      s   ðÛ Û å (ã Ý ÷>ò >r-   