+
    :iL"                        R t ^ RIt^ RIHtHt ^ RIHt ^ RIH	t	H
t
HtHtHtHtHtHtHtHtHt ^ RIHt  ! R R]4      t ! R R	]P0                  4      t ! R
 R]4      t ! R R]P6                  4      t]	P:                  ! ]4      R 4       t]	P:                  ! ]4      R 4       t]
! R4      R 4       t ]
! ]4      R 4       t!]! ]4       ! R R]PD                  4      4       t#]! ]4       ! R R]PD                  4      4       t$]! ]RR4       ]! ]RR4       ]! ]RR4       R t%R t&]! R]4      R  4       t']! R]4      R! 4       t(]! R]]PR                  4      R" 4       t*]! R]]PR                  4      R# 4       t+]! ]]PR                  ]4      R$ 4       t,]! ]4      R% 4       t-]! ]4      R& 4       t.]! ]4      R' 4       t/]! ]4      R( 4       t0]! ]R)4      R* 4       t1]! ]24      R+ 4       t3]! ]R,4      R- 4       t4R# ).z.
Implementation of a minimal Pandas-like API.
N)typescgutils)models)typeof_impltype_callableregister_modellower_builtinboxunboxNativeValueoverloadoverload_attributeoverload_methodmake_attribute_wrapper)impl_ret_borrowedc                   P   a  ] tR t^t o RtR tR t]R 4       t]R 4       t	Rt
V tR# )Indexz%
A minimal pandas.Index-like object.
c                |    \        V\        P                  4      '       g   Q hVP                  ^8X  g   Q hWn        R#    N)
isinstancenpndarrayndim_data)selfdatas   &&X/var/www/html/photoedit/myenv/lib/python3.14/site-packages/numba/tests/pdlike_usecase.py__init__Index.__init__   s.    $

++++yyA~~
    c                ,    \        V P                  4      # N)iterr   r   s   &r   __iter__Index.__iter__   s    DJJr    c                .    V P                   P                  # r"   )r   dtyper$   s   &r   r(   Index.dtype       zzr    c                .    V P                   P                  # r"   )r   flagsr$   s   &r   r,   Index.flags!   r*   r    )r   N__name__
__module____qualname____firstlineno____doc__r   r%   propertyr(   r,   __static_attributes____classdictcell____classdict__s   @r   r   r      s<     
         r    r   c                   d   a a ] tR t^&t oRtRtV 3R lt]R 4       t]R 4       t	RR lt
RtVtV ;t# )		IndexTypez#
The type class for Index objects.
  c                >   < W0n         \        \        V `  V^V4       R# r   )pyclasssuperr:   r   )r   r(   layoutr=   	__class__s   &&&&r   r   IndexType.__init__,   s    i'q&9r    c                H    V P                   V P                  V P                  3# r"   )r=   r(   r?   r$   s   &r   keyIndexType.key0   s    ||TZZ44r    c                Z    \         P                  ! V P                  ^V P                  4      # r   )r   Arrayr(   r?   r$   s   &r   as_arrayIndexType.as_array4   s    {{4::q$++66r    c                    V^8X  g   Q hVf   V P                   pT;'       g    V P                  p\        V 4      ! WV P                  4      # rF   )r(   r?   typer=   r   r(   r   r?   s   &&&&r   copyIndexType.copy8   sB    qyy=JJE&&4;;Dz%66r    )r=   )Nr   Nr/   r0   r1   r2   r3   array_priorityr   r4   rC   rH   rM   r5   r6   __classcell__r@   r8   s   @@r   r:   r:   &   sH      N: 5 5 7 77 7r    r:   c                   P   a  ] tR t^@t o RtR tR t]R 4       t]R 4       t	Rt
V tR# )Seriesz&
A minimal pandas.Series-like object.
c                    \        V\        P                  4      '       g   Q h\        V\        4      '       g   Q hVP                  ^8X  g   Q hWn        W n        R# r   )r   r   r   r   r   _values_index)r   r   indexs   &&&r   r   Series.__init__E   sF    $

++++%''''yyA~~r    c                ,    \        V P                  4      # r"   )r#   rV   r$   s   &r   r%   Series.__iter__L   s    DLL!!r    c                .    V P                   P                  # r"   )rV   r(   r$   s   &r   r(   Series.dtypeO       ||!!!r    c                .    V P                   P                  # r"   )rV   r,   r$   s   &r   r,   Series.flagsS   r^   r    )rW   rV   Nr.   r7   s   @r   rT   rT   @   s<     " " " " "r    rT   c                   d   a a ] tR t^Xt oRtRtV 3R lt]R 4       t]R 4       t	RR lt
RtVtV ;t# )	
SeriesTypez$
The type class for Series objects.
r;   c                   < \        V\        4      '       g   Q hWn        W n        \        P
                  ! V P                  ^R4      V n        RV: RV: R2p\        \        V `'  V4       R# )r   Czseries(z, )N)
r   r:   r(   rX   r   rG   valuesr>   rb   r   )r   r(   rX   namer@   s   &&& r   r   SeriesType.__init__^   sQ    %++++

kk$**a5#(%0j$(.r    c                2    V P                   V P                  3# r"   )r(   rX   r$   s   &r   rC   SeriesType.keyf   s    zz4::%%r    c                    V P                   # r"   )rf   r$   s   &r   rH   SeriesType.as_arrayj   s    {{r    c                |    V^8X  g   Q hVR8X  g   Q hVf   V P                   p\        V 4      ! WP                  4      # r   rd   )r(   rK   rX   rL   s   &&&&r   rM   SeriesType.copyn   s;    qyy}}=JJEDz%,,r    )r(   rX   rf   )Nr   rd   rO   rR   s   @@r   rb   rb   X   sH      N/ & &  - -r    rb   c                     \        V P                  V4      pVP                  ^8X  g   Q h\        VP                  VP
                  \        V 4      4      # rF   )r   r   r   r:   r(   r?   rK   )valcarrtys   && r   typeof_indexrt   v   s=    		1%E::??U[[%,,S	::r    c                     \        V P                  V4      p\        V P                  V4      pVP                  ^8X  g   Q hVP                  R8X  g   Q h\        VP                  V4      # rn   )r   rW   rV   r   r?   rb   r(   )rq   rr   rX   rs   s   &&  r   typeof_seriesrv   |   sU    

A&EQ'E::??<<3ekk5))r    __array_wrap__c                     R  pV# )c                     \        V \        \        34      '       d3   V P                  VP                  VP
                  VP                  R 7      # R# ))r(   r   r?   N)r   r:   rb   rM   r(   r   r?   )
input_typeresults   &&r   typertype_array_wrap.<locals>.typer   sC    j9j"9::??(.*0-- # 9 9 ;r     contextr|   s   & r   type_array_wrapr      s    9 Lr    c                     R  pV# )c                     \        V\        4      '       d_   \        V \        P                  4      '       d=   V P                  R 8X  g   Q hV P
                  ^8X  g   Q h\        V P                  V4      # R# R# )rd   N)r   r:   r   rG   r?   r   rb   r(   )r   rX   s   &&r   r|   &type_series_constructor.<locals>.typer   s[    eY''JtU[[,I,I;;#%%%99>!>djj%00 -J'r    r~   r   s   & r   type_series_constructorr      s    1 Lr    c                   &   a  ] tR t^t o R tRtV tR# )
IndexModelc                d    R VP                   3.p\        P                  P                  WW#4       R# )r   N)rH   r   StructModelr   r   dmmfe_typememberss   &&& r   r   IndexModel.__init__   s+    G,,-.##Dw@r    r~   Nr/   r0   r1   r2   r   r5   r6   r7   s   @r   r   r      s     A Ar    r   c                   &   a  ] tR t^t o R tRtV tR# )SeriesModelc                ~    R VP                   3RVP                  3.p\        P                  P	                  WW#4       R# )rX   rf   N)rX   rH   r   r   r   r   s   &&& r   r   SeriesModel.__init__   s;    gmm$w''( 	##Dw@r    r~   Nr   r7   s   @r   r   r      s     A Ar    r   r   r   rX   rW   rf   rV   c                 <    \         P                  ! V4      ! W3/ VB # r"   r   create_struct_proxyr   buildertypkwargss   &&&,r   
make_indexr          &&s+GGGGr    c                 <    \         P                  ! V4      ! W3/ VB # r"   r   r   s   &&&,r   make_seriesr      r   r    	__array__c                 p    \        WVP                  ^ ,          V^ ,          R7      pVP                  R4      # )    refr   )r   args_get_ptr_by_namer   r   sigr   rq   s   &&&& r   index_as_arrayr      s-    
Wsxx{Q
@C''r    c                 p    \        WVP                  ^ ,          V^ ,          R7      pVP                  R4      # )r   r   rf   )r   r   r   r   s   &&&& r   series_as_arrayr      s-    
ga
AC))r    c                     \        WVP                  4      pV^,          Vn        \        WVP                  VP	                  4       4      # rF   )r   return_typer   r   	_getvalue)r   r   r   r   dests   &&&& r   index_wrap_arrayr      s7    g8DQDIWs@PQQr    c                    \        WVP                  ^ ,          V^ ,          R7      p\        WVP                  4      pV^,          Vn        VP                  Vn        \        WVP                  VP                  4       4      # )r   value)r   r   r   rf   rX   r   r   )r   r   r   r   srcr   s   &&&&  r   series_wrap_arrayr      s\    
g47
CCw9Dq'DKDJWs@PQQr    c                     Vw  rE\        WVP                  4      pWVn        WFn        \	        WVP                  VP                  4       4      # r"   )r   r   rX   rf   r   r   )r   r   r   r   r   rX   seriess   &&&&   r   pdseries_constructorr      s?    KD3??;FLMWs@P@P@RSSr    c                   VP                   P                  VR4      p\        VP                  VP                  V 4      pVP                  V P                  V4      P                  Vn        \        VP                  4       4      # )z/
Convert a Index object to a native structure.
r   )pyapiobject_getattr_stringr   r   r   r
   rH   r   r   r   r   )r   objrr   r   rX   s   &&&  r   unbox_indexr      s^    
 77((g6Dqyy!))S1Et,22EJu())r    c                   VP                   P                  VR4      pVP                   P                  VR4      p\        VP                  VP                  V 4      pVP                  V P                  V4      P                  Vn        VP                  V P                  V4      P                  Vn        \        VP                  4       4      # )z0
Convert a Series object to a native structure.
rW   rV   )r   r   r   r   r   r
   rX   r   rf   r   r   )r   r   rr   rX   rf   r   s   &&&   r   unbox_seriesr      s    
 GG))#x8EWW**3	:FAIIs3F77399e,22FLGGCJJ/55FMv'')**r    c                J   \        VP                  VP                  WR7      pVP                  P	                  VP                  P                  V P                  4      4      pVP                  V P                  VP                  4      pVP                  P                  WE34      pV# )z5
Convert a native index structure to a Index object.
r   )r   r   r   r   unserializeserialize_objectr=   r	   rH   r   call_function_objargs)r   rq   rr   rX   classobjarrayobjindexobjs   &&&    r   	box_indexr      st     qyy!))S<Eww""177#;#;CKK#HIHuuS\\5::.Hww,,X{CHOr    c                   \        VP                  VP                  WR7      pVP                  P	                  VP                  P                  \        4      4      pVP                  V P                  VP                  4      pVP                  V P                  VP                  4      pVP                  P                  WFV34      pV# )z7
Convert a native series structure to a Series object.
r   )r   r   r   r   r   r   rT   r	   rX   rH   rf   r   )r   rq   rr   r   r   r   r   	seriesobjs   &&&     r   
box_seriesr      s    
 AIIs>Fww""177#;#;F#CDHuuSYY-HuuS\\6==1H--h88LMIr    is_monotonic_increasingc                    R pV# )z
Index.is_monotonic_increasing
c                 |    V P                   p\        V4      ^ 8X  d   R# V^ ,          pV F  pW28  d    R# TpK  	  R# )r   TF)r   len)rX   r   uvs   &   r   getter-index_is_monotonic_increasing.<locals>.getter  s>    {{t9>GAuA  r    r~   )rX   r   s   & r   index_is_monotonic_increasingr     s    
	 Mr    c                <    \        V \        4      '       d   R pV# R# )z
len(Series)
c                 ,    \        V P                  4      # r"   )r   rV   )r   s   &r   len_implseries_len.<locals>.len_impl  s    v~~&&r    N)r   rb   )r   r   s   & r   
series_lenr     s     
 &*%%	' &r    clipc                    R pV# )z
Series.clip(...)
c                     V P                   P                  4       p\        \        V4      4       F#  pW4,          pWQ8  d   WV&   K  WR8  g   K  W#V&   K%  	  \	        W0P
                  4      # r"   )rV   rM   ranger   rT   rW   )r   lowerupperr   ir   s   &&&   r   	clip_implseries_clip.<locals>.clip_impl(  sW    ~~""$s4y!AAyQQ " dMM**r    r~   )r   r   r   r   s   &&& r   series_clipr   #  s    
+ r    )5r3   numpyr   
numba.corer   r   numba.core.datamodelr   numba.core.extendingr   r   r   r   r	   r
   r   r   r   r   r   numba.core.imputilsr   objectr   Bufferr:   rT   ArrayCompatiblerb   registerrt   rv   r   r   r   r   r   r   r   r   r   rG   r   r   r   r   r   r   r   r   r   r   r   r~   r    r   <module>r      s    % 'K K K K 2 F  ,7 74"V "0-&& -< e; ;
 f* *   ! v  	A## A A
 
A&$$ A A y&' 2 z7H 5 z8Y 7HH {I&( '( {J'* (* EKK8R 9R
 U[[9R :R vu{{I.T /T y* * z
+ 
+ Y	 	 Z	 	 I89 :" 
#  V$ %r    