+
    Ŝid                    ~    ^ RI Ht ^ RIHtHt ^ RIHtHt ]'       d	   ^ RIt	^ RI
t ! R R]4      t ! R R]4      tR# )	    )annotations)TYPE_CHECKINGAny)BufferDlpackDeviceTypeNc                  z    ] tR t^tRtRR R llt]R R l4       t]R R l4       tR R	 lt	R
 R lt
R R ltRtR# )PandasBuffer>
Data in the buffer is guaranteed to be contiguous in memory.
c               $    V ^8  d   QhRRRRRR/# )   xz
np.ndarray
allow_copyboolreturnNone )formats   "g/Users/mibo/.openclaw/workspace/.venv-ak/lib/python3.14/site-packages/pandas/core/interchange/buffer.py__annotate__PandasBuffer.__annotate__   s!      * $ $     c                    VP                   ^ ,          '       dK   VP                   VP                  P                  38X  g%   V'       d   VP                  4       pM\	        R4      hWn        R# )z7
Handle only regular columns (= numpy arrays) for now.
zBExports cannot be zero-copy in the case of a non-contiguous bufferN)stridesdtypeitemsizecopyRuntimeError_x)selfr   r   s   &&&r   __init__PandasBuffer.__init__   sP     99Q<<		agg.>.>-@ @ FFH"X  r   c                   V ^8  d   QhRR/# r   r   intr   )r   s   "r   r   r   *   s     5 5 5r   c                x    V P                   P                  V P                   P                  P                  ,          # z
Buffer size in bytes.
)r   sizer   r   r   s   &r   bufsizePandasBuffer.bufsize)   s%    
 ww||dggmm4444r   c                   V ^8  d   QhRR/# r#   r   )r   s   "r   r   r   1   s     6 6S 6r   c                J    V P                   P                  R,          ^ ,          # )/
Pointer to start of the buffer as an integer.
data)r   __array_interface__r(   s   &r   ptrPandasBuffer.ptr0   s    
 ww**62155r   c                   V ^8  d   QhRR/# r   r   r   r   )r   s   "r   r   r   7   s     $ $C $r   c                6    V P                   P                  4       # z/
Represent this structure as DLPack interface.
)r   
__dlpack__r(   s   &r   r6   PandasBuffer.__dlpack__7   s     ww!!##r   c                   V ^8  d   QhRR/# r   r   z#tuple[DlpackDeviceType, int | None]r   )r   s   "r   r   r   =        , ,#F ,r   c                &    \         P                  R3# zE
Device type and device ID for where the data in the buffer resides.
Nr   CPUr(   s   &r   __dlpack_device__PandasBuffer.__dlpack_device__=        !$$d++r   c                   V ^8  d   QhRR/# r   r   strr   )r   s   "r   r   r   C        
 
# 
r   c           
     	    R \        RV P                  RV P                  RV P                  4       ^ ,          P                  /4      ,           R,           # )zPandasBuffer(r)   r0   device))rD   r)   r0   r?   namer(   s   &r   __repr__PandasBuffer.__repr__C   sQ    t||488d446q9>> 
	
r   )r   N)T__name__
__module____qualname____firstlineno____doc__r    propertyr)   r0   r6   r?   rJ   __static_attributes__r   r   r   r	   r	      sH    $ 5 5 6 6$,
 
r   r	   c                  v    ] tR t^QtRtR R lt]R R l4       t]R R l4       tR R	 lt	R
 R lt
R R ltRtR# )PandasBufferPyarrowr
   c               $    V ^8  d   QhRRRRRR/# )r   bufferz	pa.Bufferlengthr$   r   r   r   )r   s   "r   r    PandasBufferPyarrow.__annotate__V   s(     
 

 	

 

r   c                   Wn         W n        R# )z 
Handle pyarrow chunked arrays.
N_buffer_length)r   rW   rX   s   &&$r   r    PandasBufferPyarrow.__init__V   s     r   c                   V ^8  d   QhRR/# r#   r   )r   s   "r   r   rY   c   s     ! ! !r   c                .    V P                   P                  # r&   )r\   r'   r(   s   &r   r)   PandasBufferPyarrow.bufsizeb   s    
 ||   r   c                   V ^8  d   QhRR/# r#   r   )r   s   "r   r   rY   j   s     $ $S $r   c                .    V P                   P                  # )r-   )r\   addressr(   s   &r   r0   PandasBufferPyarrow.ptri   s    
 ||###r   c                   V ^8  d   QhRR/# r3   r   )r   s   "r   r   rY   p   s     " "C "r   c                    \         hr5   )NotImplementedErrorr(   s   &r   r6   PandasBufferPyarrow.__dlpack__p   s
     "!r   c                   V ^8  d   QhRR/# r9   r   )r   s   "r   r   rY   v   r:   r   c                &    \         P                  R3# r<   r=   r(   s   &r   r?   %PandasBufferPyarrow.__dlpack_device__v   rA   r   c                   V ^8  d   QhRR/# rC   r   )r   s   "r   r   rY   |   rE   r   c           	     	h    R \        RV P                  RV P                  RR/4      ,           R,           # )zPandasBuffer[pyarrow](r)   r0   rG   r>   rH   )rD   r)   r0   r(   s   &r   rJ   PandasBufferPyarrow.__repr__|   s=    $t||488e 
	
r   r[   NrL   r   r   r   rU   rU   Q   sH    
 ! ! $ $",
 
r   rU   )
__future__r   typingr   r   *pandas.core.interchange.dataframe_protocolr   r   numpynppyarrowpar	   rU   r   r   r   <module>rw      s6    "

 <
6 <
~6
& 6
r   