gL iQVddlmZddlmZddlmZmZerddlmZd dZ d dZ d d dZ y) ) annotations) TYPE_CHECKING) DataFrameconcat)AxisIntNc ddddd}t|tr$|jDcic]\}}|| }}}n!t|tr|j ||j dr|j d|dk(sJ|j dr|j d|dk(sJ|j dr|j d|dk(sJ|j dr|j d|dk(sJyycc}}w) Nfloat32float16float64ABCDr rrr isinstancestritemsdictupdategetdtypesdfdtyperkvs _/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pandas/tests/frame/common.py_check_mixed_floatrs999 MF%'-||~6tq!!U(66 E4  e zz#yy~,,, zz#yy~,,, zz#yy~,,, zz#yy~,,,7 C?c ddddd}t|tr$|jDcic]\}}|| }}}n!t|tr|j ||j dr|j d|dk(sJ|j dr|j d|dk(sJ|j dr|j d|dk(sJ|j d r|j d |d k(sJyycc}}w) Nint32uint64uint8int64r r rrrrrs r_check_mixed_intr&sg FF%'-||~6tq!!U(66 E4  e zz#yy~,,, zz#yy~,,, zz#yy~,,, zz#yy~,,,7r c 4|dk(rE|dj}|Dcgc]}|D]}|jdd|f}}}t|dS|dj}|Dcgc]}|D]}|j|ddf}}}t |Scc}}wcc}}w)z take a list of frames, zip them together under the assumption that these all have the first frames' index/columns. Returns ------- new_frame : DataFrame rN)axis)columnslocrindexr)framesr)r*cfzippedr,is r zip_framesr2/s qy)##'.?!?1!%%1+?+??f1%%q ',=!f=!%%1+=+==  @>s !B!B)N)r()r-zlist[DataFrame]r)rreturnr) __future__rtypingrpandasrrpandas._typingrrr&r2rr:s'"  &-" - !r9