gL i UdZddlmZddlZddlZddlmZdade d<d dZ dZ ejd 5ejd e e ej dddy#1swYyxYw) z& Unopinionated display configuration. ) annotationsN)configz str | None_initial_defencodingcd} tjjxstjj}|rd|j vr tj}|rd|j vrtj}tstja |S#tt f$rY~wxYw#tj$rYnwxYw)z Try to find the most capable encoding supported by the console. slightly modified from the way IPython handles the same issue. Nascii) sysstdoutencodingstdinAttributeErrorOSErrorlowerlocalegetpreferredencodingErrorgetdefaultencodingr)r s \/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pandas/_config/display.pydetect_console_encodingrsH ::&&<#))*<*< w(.."22 224H w(.."22))+ "557 O- G $   ||    s#6B'B<'B98B9<CCz : str/unicode Defaults to the detected encoding of the console. Specifies the encoding to be used for strings returned by to_string, these are generally strings meant to be displayed on the console. displayr ) validator)returnstr)__doc__ __future__rrrpandas._configrcfr__annotations__rpc_encoding_doc config_prefixregister_optionis_textrr$sz# '$(j' FRi B+-"**s &A&&A/