U
    _{f                     @   sd   d dl Z d dlZd dlmZ ejee je j ej	dfdZ
deeejddd	Zed
ddZdS )    N)NpDtype   )dtypeOT)r   replacereturnc                 C   s8   t jjt| t | |dt j| f|}||S )z,
    Generate an array of byte strings.
    )sizer   )	nprandomchoiceRANDS_CHARSprodviewstr_ZreshapeZastype)ncharsr   r   r   retval r   V/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/pandas/_testing/_random.pyrands_array
   s    r   )r   c                 C   s   d tjt| S )zt
    Generate one random byte string.

    See `rands_array` if you want to create an array of random strings.

     )joinr	   r
   r   r   )r   r   r   r   rands   s    r   )r   T)stringnumpyr	   Zpandas._typingr   arraylistascii_lettersdigitsr   r   boolZndarrayr   strr   r   r   r   r   <module>   s
    