
    .i                     l   d dl Z d dlmZ d dlmZ g ddddifd e ed            fdd	d
fddi fddi fddi fddi fddi fddi fddi fddi fddi fddi fddddifddddifddddifddddifddi fddi fd di fd!d"i fd#d$i fd%d&i fd'di fd(di fd)di fd*d+i fd,di fd-d.ddifd-d.ddifd/d0i fd1d2i fd3di fd4d$i fd5di fd6d.ddifd6d.ddifd7d8i fd9d:i fd;d.ddifd;d.ddifd<di fd<di fd<di fd<di fd<di fd<dddifd<dddifd=di fd>di fd?d@dAifi fdBdCi fdDdi f eg dEdgdAz  i gdAz        Z ee \  ZZ	Z	 e
e      D  ch c]  } | j                  dF      r|  c}  ee      z
  ZerJ  e j                  eeG      dH        Zyc c} w )I    N)Series)StringMethodscat sep,zyxleft)r   joincenter)
   containsacountdecode)zUTF-8encodeendswith)r   )r   ))r   b))r   MISSINGnaTFextract)z([a-z]*)expand
extractallfindfindallget)r   index) r   )r   ljustmatch	fullmatch	normalize)NFCpad	partition) repeat)   replace)r   zrfindrindexrjust
rpartitionslice)r      slice_replace)r   r1   r+   split
startswithremoveprefixremovesuffix	translatea   d   wrap)   zfill)
capitalizer   get_dummiesisalnumisalphaisascii	isdecimalisdigitislower	isnumericisspaceistitleisupperlenlowerlstripr&   r/   rsplitrstripr0   r2   r3   stripswapcasetitleuppercasefold_)paramsidsc                     | j                   S )a  
    Fixture for all public methods of `StringMethods`

    This fixture returns a tuple of the method name and sample arguments
    necessary to call the method.

    Returns
    -------
    method_name : str
        The name of the method in `StringMethods`
    args : tuple
        Sample values for the positional arguments
    kwargs : dict
        Sample values for the keyword arguments

    Examples
    --------
    >>> def test_something(any_string_method):
    ...     s = Series(["a", "b", np.nan, "d"])
    ...
    ...     method_name, args, kwargs = any_string_method
    ...     method = getattr(s.str, method_name)
    ...     # will not raise
    ...     method(*args, **kwargs)
    )param)requests    [/var/www/app/trading-bot/venv/lib/python3.12/site-packages/pandas/tests/strings/conftest.pyany_string_methodrZ   i   s    6 ==    )pytestpandasr   pandas.core.strings.accessorr   listzip_any_string_methodrU   rS   dirr4   setmissing_methodsfixturerZ   )fs   0rY   <module>rg      s     6[
B[
VDK "C$@A[ ub[ 	[
 fb[ z2[ z2[ [ [ B[ #[ $b)[ $&[ $'[ %01[  $/0![" ="%#[$ VR%[& '[( D")[. eR/[0 VR1[2 eR3[4 fb5[6 &"7[8 (B9[: E2;[< &8U+,=[> &8T*+?[@ tRA[B 
BC[D fbE[F ubG[H eRI[J 6He,-K[L 6Hd+,M[N fbO[P k2&Q[R fx'(S[T fx&'U[V 62W[X 9b!Y[Z ="%[[\ &+][^ 5"_[` 6D$<(a[b 6D%=)c[d VR e[f VR g[j B9,#k[l T2m[n eRo[r 		
< 
s
	s
A!s[ x #$	Q!-0JS8I1JSQTXU   )s3 4 Ks   +F1F1