o
    Df                     @   s   d Z g dZddlmZ ddlmZ ddlmZmZmZm	Z	m
Z
mZmZ ddlmZ defdd	Zdefd
dZdefddZdefddZdS )z
pandas._config is considered explicitly upstream of everything else in pandas,
should have no intra-pandas dependencies.

importing `dates` and `display` ensures that keys needed by _libs
are initialized.
)
configdetect_console_encoding
get_option
set_optionreset_optiondescribe_optionoption_contextoptionsusing_copy_on_writewarn_copy_on_write    )r   )dates)_global_configr   r   r   r   r   r   )r   returnc                  C   s    t d } | d du o| d dkS )Nmodecopy_on_writeTdata_managerblockr   _mode_options r   P/home/ubuntu/webapp/venv/lib/python3.10/site-packages/pandas/_config/__init__.pyr	   "      
r	   c                  C   s    t d } | d dko| d dkS )Nr   r   warnr   r   r   r   r   r   r   r
   *   r   r
   c                  C      t d } | d S )Nr   nullable_dtypesr   r   r   r   r   using_nullable_dtypes2      r   c                  C   r   )Nfutureinfer_stringr   r   r   r   r   using_pyarrow_string_dtype7   r   r    N)__doc____all__pandas._configr   r   pandas._config.configr   r   r   r   r   r   r   pandas._config.displayr   boolr	   r
   r   r    r   r   r   r   <module>   s    $	