o
    iZ                  	   @   s   d dl Z d dlZddefddZejee je j ej	dfdZ
ejed	eeed
de j ejdfdZddejfddZdefddZdS )    N       ?pc                 C   s   t jj|  |kS )N)nprandomrand)sizer   r   r   R/var/www/edux/Edux_v2/venv/lib/python3.10/site-packages/pandas/_testing/_random.pyrandbool   s   r
      )dtype i  i  OTreturnc                 C   s8   t jjt| t | |dt j| f|}||S )z,
    Generate an array of byte strings.
    )r   replace)	r   r   choiceRANDS_CHARSprodviewstr_reshapeastype)ncharsr   r   r   retvalr   r   r	   rands_array   s
   
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.

    r   )joinr   r   r   r   )r   r   r   r	   rands   s   r   )r   r   )r   T)stringnumpyr   floatr
   arraylistascii_lettersdigitsr   r   r   mapchrrangeunicode_RANDU_CHARSndarrayr   strr   r   r   r   r	   <module>   s     