
    Mh                    @    S SK Jr  S SKJr  S SKrS SKJr  SS jrS r	g)    )annotations)reduceN)
get_optionc                    [        U [        R                  [        45      (       a  U R	                  [        S5      5      n U $ )z+
If we have bytes, decode them to unicode.
zdisplay.encoding)
isinstancenpbytes_bytesdecoder   )ss    P/var/www/html/env/lib/python3.13/site-packages/pandas/core/computation/common.pyensure_decodedr   
   s3     !bii'((HHZ 234H    c                     [         R                  " U 6 $ ! [         a    [        [         R                  U 5      s $ [         a    SSKJn  SSKJn  [        U 5      n/ / pTU H4  nU" U5      (       a  UR                  U5        M#  UR                  U5        M6     U(       aL   [         R                  " U6 nO*! [         a    [        [         R                  U 5      n Of = fU" XG/-   5      s $ U" U5      s $ f = f)zW
Wrapper around numpy.result_type which overcomes the NPY_MAXARGS (32)
argument limit.
r   )find_common_type)is_extension_array_dtype)r   result_type
ValueErrorr   	TypeErrorpandas.core.dtypes.castr   pandas.core.dtypes.commonr   listappend)arrays_and_dtypesr   r   arr_and_dtypes	ea_dtypesnon_ea_dtypesarr_or_dtypenp_dtypes           r   result_type_manyr       s    
+~~011 9bnn&788 +<F/0#%r=*L'55  .$$\2	 + E>>=9 E!"..2CDE#I
$:;;	**'+s?    $C6A$C6 B43C64$CC6CC6+C65C6)returnstr)

__future__r   	functoolsr   numpyr   pandas._configr   r   r     r   r   <module>r(      s    "   %+r   