+
    JV-j;_  ã                   ó†  € ^ RI HtHtHtHtHtHtHtHtH	t	H
t
HtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtH t H!t!H"t"H#t#H$t$H%t%H&t&H't'H(t(H)t)H*t*H+t+H,t,H-t-H.t.H/t/H0t0H1t1H2t2H3t3H4t4H5t5H6t6H7t7H8t8H9t9H:t:H;t;H<t<H=t=H>t>H?t?H@t@HAtAHBtBHCtCHDtDHEtEHFtFHGtGHHtHHItIHJtJHKtKHLtLHMtMHNtNHOtOHPtP ^ RIQHRtR ^ RIStS^ RITHUtU ^ RIVtV^ RIWtX^ RIWHYtY ^ RIZH[t[ R t\]R! RR!4      t]R	 t^R
 t_R t`R taR tbR tcR tdR te]e! 4        ]f! 4       R,          ;tgthR"R ltiR#RR/R lltjRRRR/R ltkR tlR$RR/R lltmR$RR/R lltnRRRRRR/R ltoR tpR  tqR# )%é    )PÚFunctionÚFunctionOptionsÚFunctionRegistryÚHashAggregateFunctionÚHashAggregateKernelÚKernelÚScalarAggregateFunctionÚScalarAggregateKernelÚScalarFunctionÚScalarKernelÚVectorFunctionÚVectorKernelÚArraySortOptionsÚAssumeTimezoneOptionsÚCastOptionsÚCountOptionsÚCumulativeOptionsÚCumulativeSumOptionsÚDayOfWeekOptionsÚDictionaryEncodeOptionsÚRunEndEncodeOptionsÚElementWiseAggregateOptionsÚExtractRegexOptionsÚExtractRegexSpanOptionsÚFilterOptionsÚIndexOptionsÚInversePermutationOptionsÚJoinOptionsÚListSliceOptionsÚListFlattenOptionsÚMakeStructOptionsÚMapLookupOptionsÚMatchSubstringOptionsÚModeOptionsÚNullOptionsÚ
PadOptionsÚPairwiseOptionsÚPartitionNthOptionsÚPivotWiderOptionsÚQuantileOptionsÚRandomOptionsÚRankOptionsÚRankQuantileOptionsÚReplaceSliceOptionsÚReplaceSubstringOptionsÚRoundBinaryOptionsÚRoundOptionsÚRoundTemporalOptionsÚRoundToMultipleOptionsÚScalarAggregateOptionsÚScatterOptionsÚSelectKOptionsÚSetLookupOptionsÚSkewOptionsÚSliceOptionsÚSortOptionsÚSplitOptionsÚSplitPatternOptionsÚStrftimeOptionsÚStrptimeOptionsÚStructFieldOptionsÚTakeOptionsÚTDigestOptionsÚTrimOptionsÚUtf8NormalizeOptionsÚVarianceOptionsÚWeekOptionsÚWinsorizeOptionsÚZeroFillOptionsÚcall_functionÚfunction_registryÚget_functionÚlist_functionsÚcall_tabular_functionÚregister_scalar_functionÚregister_tabular_functionÚregister_aggregate_functionÚregister_vector_functionÚ
UdfContextÚ
Expression)Ú
namedtupleN)Údedent)Ú_compute_docstrings)Ú	docscrapec                 ó.   € V P                   P                  # ©N)Ú_docÚ	arg_names)Úfuncs   &Ú`/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/pyarrow/compute.pyÚ_get_arg_namesr]   s   s   € Ø�9‰9×ÑÐó    Ú_OptionsClassDocc                 óŽ   € V P                   '       g   R # \        P                  ! V P                   4      p\        VR,          4      # )NÚ
Parameters)Ú__doc__rV   ÚNumpyDocStringr_   )Úoptions_classÚdocs   & r\   Ú_scrape_options_class_docrf   z   s7   € Ø× × Ð ÙÜ
×
"Ò
" =×#8Ñ#8Ó
9€CÜ˜C Õ-Ó.Ð.r^   c                 ó$  € VP                   p\        VP                  VP                  VP                  VP
                  R 7      V n        Wn        Wn        . pVP                  pV'       g)   VP                  ^8”  d   RMRpRVP                  : RV 2pVP                  V R24       VP                  pV'       d   VP                  V R24       \        P                  P                  VP                  4      p	VP                  \        R4      4       \!        V4      p
V
 FA  pVP"                  R9   d   RpMR	pVP                  V R
V R24       VP                  R4       KC  	  VEeE   \%        V4      pV'       dh   VP&                   FV  pVP                  VP                   R
VP(                   R24       VP*                   F  pVP                  RV R24       K  	  KX  	  M¢\,        P.                  ! RVP                   R2\0        4       \2        P4                  ! V4      pVP6                  P9                  4        FE  pVP                  \        RVP                   RVP                   RVP                   R24      4       KG  	  VP                  \        RVP                   R24      4       VP                  \        R4      4       V	e0   \        V	4      P;                  R4      pVP                  RV R24       RP=                  V4      V n        V # ))ÚnameÚarityrd   Úoptions_requiredÚ	argumentsÚargumentzCall compute function z with the given z.

z

z.        Parameters
        ----------
        z
Array-likezArray-like or scalar-likez : Ú
z"    Argument to compute function.
z    zOptions class z does not have a docstringz                z. : optional
                    Parameter for z7 constructor. Either `options`
                    or `z@` can be passed, but not both at the same time.
                z&            options : pyarrow.compute.zK, optional
                Alternative way of passing options.
            z‰        memory_pool : pyarrow.MemoryPool, optional
            If not passed, will allocate memory from the default memory pool.
        Ú )ÚvectorÚscalar_aggregate) rY   Údictrh   ri   rd   rj   Ú__arrow_compute_function__Ú__name__Ú__qualname__ÚsummaryÚappendÚdescriptionrU   Úfunction_doc_additionsÚgetrT   r]   Úkindrf   ÚparamsÚtypeÚdescÚwarningsÚwarnÚRuntimeWarningÚinspectÚ	signatureÚ
parametersÚvaluesÚstripÚjoinrb   )ÚwrapperÚexposed_namer[   rd   Úcpp_docÚ
doc_piecesru   Úarg_strrw   Údoc_additionrZ   Úarg_nameÚarg_typeÚoptions_class_docÚpÚsÚoptions_sigÚstrippeds   &&&&              r\   Ú_decorate_compute_functionr”   �   sí  € ð �i‰i€Gä)-Ø�Y‰YØ�j‰jØ×+Ñ+Ø ×1Ñ1ô	*3€GÔ&ð
 $ÔØ'Ôà€Jð �o‰o€GßØ!%§¡¨a¤‘+°ZˆØ*¨4¯9©9©-Ð7GÈÀyÐQˆà×Ñ˜˜	 Ð'Ô(ð ×%Ñ%€KßØ×Ñ˜[˜M¨Ð.Ô/ä&×=Ñ=×AÑAÀ$Ç)Á)ÓL€Lð ×Ñ”fð ó ô ô ˜tÓ$€IÛˆØ�9‰9Ð6Ô6Ø#‰Hà2ˆHØ×Ñ˜X˜J c¨(¨°2Ð6Ô7Ø×ÑÐ?Ö@ñ ð Ó Ü5°mÓDÐßØ&×-Ô-�Ø×!Ñ! Q§V¡V H¨C°·±¨x°rÐ":Ô;ØŸœ�AØ×%Ñ%¨¨Q¨C¨r lÖ3ó  ò .ô
 �MŠM˜N¨=×+AÑ+AÐ*Bð C6ð 7Ü8FôHä!×+Ò+¨MÓ:ˆKØ ×+Ñ+×2Ñ2Ö4�Ø×!Ñ!¤&ð .Ø—‘�ð #Ø#0×#9Ñ#9Ð":ð ;ØŸ™˜ð !ð*ó #ö ñ 5ð 	×Ñœ&ð &'Ø'4×'=Ñ'=Ð&>ð ?ð"ó ô 	ð
 ×Ñ”fð ó ô ð ÒÜ˜,Ó'×-Ñ-¨dÓ3ˆØ×Ñ˜B˜x˜j¨Ð+Ô,à—g‘g˜jÓ)€G„OØ€Nr^   c                 óÈ   € V P                   P                  pV'       g   R #  \        4       V,          #   \         d$    \        P
                  ! RT R2\        4        R # i ; i)NzPython binding for z not exposed)rY   rd   ÚglobalsÚKeyErrorr~   r   r€   )r[   Ú
class_names   & r\   Ú_get_options_classr™   Ô   sV   € Ø—‘×(Ñ(€JßÙðÜ‹y˜Õ$Ð$øÜô Ü�ŠÐ+¨J¨<°|ÐDÜ$ô	&âðús   ¢3 ³*A!Á A!c           
      ó  € V'       g	   V'       d   Ve   \        RV : R24      hV! V/ VB # VeP   \        V\        4      '       d	   V! R/ VB # \        W!4      '       d   V# \        RV : RV R\        V4       24      hR # )Nz	Function z@ called with both an 'options' argument and additional argumentsz expected a z parameter, got © )Ú	TypeErrorÚ
isinstancerq   r|   )rh   rd   ÚoptionsÚargsÚkwargss   &&&&&r\   Ú_handle_optionsr¡   à   s    € ß�vØÒÜØ˜D™8ð $+ð ,ó-ð -ñ ˜dÐ- fÑ-Ð-àÒÜ�gœt×$Ò$Ù Ñ+ 7Ñ+Ð+Ü˜×/Ò/ØˆNÜØ˜‘x˜|¨M¨?ð ;Ü˜“=�/ð#ó$ð 	$ñ r^   c                 óP   a aaa€ Sf   RR /VVV 3R llpV# RR RR /VVV V3R llpV# )NÚmemory_poolc           	      ó"  <€ S\         Jd.   \        V4      S8w  d   \        S R S R\        V4       R24      hV'       d>   \        V^ ,          \        4      '       d!   \        P
                  ! S\        V4      4      # SP                  VRV 4      # )ú takes ú positional argument(s), but ú were givenN)ÚEllipsisÚlenrœ   r�   rR   Ú_callÚlistÚcall)r£   rŸ   ri   r[   Ú	func_names   $*€€€r\   r‡   Ú&_make_generic_wrapper.<locals>.wrapperö   s‚   ø€ ØœHÓ$¬¨T«°eÔ);ÜØ �k ¨¨ð 0Ü˜t›9˜+ [ð2óð ÷ œ
 4¨¥7¬J×7Ò7Ü!×'Ò'¨	´4¸³:Ó>Ð>Ø—9‘9˜T 4¨Ó5Ð5r^   rž   c           	      óX  <€ S\         Jd9   \        V4      S8  d   \        S R S R\        V4       R24      hVSR pVRS pMRp\        SSVWC4      pV'       d?   \	        V^ ,          \
        4      '       d"   \
        P                  ! S\        V4      V4      # SP                  W!V 4      # )r¥   r¦   r§   Nr›   )	r¨   r©   rœ   r¡   r�   rR   rª   r«   r¬   )	r£   rž   rŸ   r    Úoption_argsri   r[   r­   rd   s	   $$*, €€€€r\   r‡   r®      s±   ø€ ØœHÓ$Ü�t“9˜uÔ$Ü#Ø$˜+ W¨U¨Gð 4Ü" 4›y˜k¨ð6óð ð # 5 6˜l�Ø˜F˜U�|‘à �Ü% i°ÀØ&1ó;ˆGçœ
 4¨¥7¬J×7Ò7Ü!×'Ò'¨	´4¸³:¸wÓGÐGØ—9‘9˜T¨KÓ8Ð8r^   r›   )r­   r[   rd   ri   r‡   s   ffff r\   Ú_make_generic_wrapperr±   ô   s@   û€ ØÒð	6 t÷ 	6ñ 	6ð4 €Nð!	9 tð 	9°T÷ 	9ò 	9ð  €Nr^   c                 ó¨  € ^ RI Hp . pV  F$  pVP                  V! WSP                  4      4       K&  	  V F$  pVP                  V! WSP                  4      4       K&  	  Veº   \         P
                  ! V4      pVP                  P                  4        Fa  pVP                  VP                  VP                  39   g   Q hV'       d   VP                  VP                  R7      pVP                  V4       Kc  	  VP                  V! RVP                  RR7      4       VP                  V! RVP                  RR7      4       \         P                  ! V4      # )r   )Ú	ParameterN)rz   rž   )Údefaultr£   )r�   r³   rv   ÚPOSITIONAL_ONLYÚVAR_POSITIONALr‚   rƒ   r„   rz   ÚPOSITIONAL_OR_KEYWORDÚKEYWORD_ONLYÚreplaceÚ	Signature)rZ   Úvar_arg_namesrd   r³   r{   rh   r’   r�   s   &&&     r\   Ú_make_signaturer¼     s  € Ý!Ø€FÛˆØ�‰‘i ×&?Ñ&?Ó@ÖAñ ãˆØ�‰‘i ×&>Ñ&>Ó?Ö@ñ àÒ Ü×'Ò'¨Ó6ˆØ×'Ñ'×.Ñ.Ö0ˆAØ—6‘6˜i×=Ñ=Ø'×4Ñ4ð6ô 6ð 6ð 6çà—I‘I 9×#9Ñ#9�IÓ:�Ø�M‰M˜!Öñ 1ð 	�‰‘i 	¨9×+AÑ+AØ(,ô.ô 	/à
‡M�M‘)˜M¨9×+AÑ+AØ$(ô*ô +ä×Ò˜VÓ$Ð$r^   c                 ó0  € \        V4      p\        V4      pT;'       d    VR,          P                  R4      pV'       d"   VP                  4       P	                  R4      .pM. p\        WW!P                  R7      p\        W5V4      Vn        \        W`W4      # )é   Ú*)ri   éÿÿÿÿ)
r™   r]   Ú
startswithÚpopÚlstripr±   ri   r¼   Ú__signature__r”   )rh   r[   rd   rZ   Ú
has_varargr»   r‡   s   &&     r\   Ú_wrap_functionrÆ   *  s…   € Ü& tÓ,€MÜ˜tÓ$€IØ×<Ð<˜y¨�}×7Ñ7¸Ó<€JßØ"Ÿ™›×/Ñ/°Ó4Ð5‰àˆä#Ø�M¯©ô5€Gä+¨IØ,9ó;€GÔä% g°TÓIÐIr^   c                 óV  € \        4       p \        4       pRRRR/pVP                  4        Fz  pVP                  W34      pVP	                  V4      pVP
                  R8X  d   K8  VP
                  R8X  d   VP                  ^ 8X  d   K\  W@9  g   Q V4       h\        WE4      ;W&   W&   K|  	  R# )z›
Make global functions wrapping each compute function.

Note that some of the automatically-generated wrappers may be overridden
by custom versions below.
ÚandÚand_ÚorÚor_Úhash_aggregaterp   N)r–   rI   rK   ry   rJ   rz   ri   rÆ   )ÚgÚregÚrewritesÚcpp_namerh   r[   s         r\   Ú_make_global_functionsrÑ   :  s©   € ô 	‹	€AÜ
Ó
€Cð �vØ�eð€Hð ×&Ñ&Ö(ˆØ�|‰|˜HÓ/ˆØ×Ñ Ó)ˆØ�9‰9Ð(Ô(ñ Ø�9‰9Ð*Ô*¨t¯z©z¸Q¬ñ ØŒ}Ð"˜dÓ"ˆ}Ü .¨tÓ :Ð:ˆ‰�a“gó )r^   Úutf8_zero_fillc                ó,  € VRJ;'       g    VRJpV'       d   Ve   \        R4      hVf]   \        P                  P                  P	                  V4      pVRJ d   \
        P                  ! V4      pM\
        P                  ! V4      p\        RV .W44      # )aÖ  
Cast array values to another data type. Can also be invoked as an array
instance method.

Parameters
----------
arr : Array-like
target_type : DataType or str
    Type to cast to
safe : bool, default True
    Check for overflows or other unsafe conversions
options : CastOptions, default None
    Additional checks pass by CastOptions
memory_pool : MemoryPool, optional
    memory pool to use for allocations during function execution.

Examples
--------
>>> from datetime import datetime
>>> import pyarrow as pa
>>> arr = pa.array([datetime(2010, 1, 1), datetime(2015, 1, 1)])
>>> arr.type
TimestampType(timestamp[us])

You can use ``pyarrow.DataType`` objects to specify the target type:

>>> cast(arr, pa.timestamp('ms'))
<pyarrow.lib.TimestampArray object at ...>
[
  2010-01-01 00:00:00.000,
  2015-01-01 00:00:00.000
]

>>> cast(arr, pa.timestamp('ms')).type
TimestampType(timestamp[ms])

Alternatively, it is also supported to use the string aliases for these
types:

>>> arr.cast('timestamp[ms]')
<pyarrow.lib.TimestampArray object at ...>
[
  2010-01-01 00:00:00.000,
  2015-01-01 00:00:00.000
]
>>> arr.cast('timestamp[ms]').type
TimestampType(timestamp[ms])

Returns
-------
casted : Array
    The cast result as a new Array
NzRMust either pass values for 'target_type' and 'safe' or pass a value for 'options'FÚcast)	Ú
ValueErrorÚpaÚtypesÚlibÚensure_typer   ÚunsafeÚsaferH   )ÚarrÚtarget_typerÛ   rž   r£   Úsafe_vars_passeds   &&&&& r\   rÔ   rÔ   \  sŽ   € ðl  DÐ(×FÐF¨kÀÐ.EÐç˜WÒ0Üð :ó ;ð 	;ð ‚Ü—h‘h—l‘l×.Ñ.¨{Ó;ˆØ�5‹=Ü!×(Ò(¨Ó5‰Gä!×&Ò& {Ó3ˆGÜ˜ # ¨Ó=Ð=r^   r£   c               ó˜  € Ve0   Ve   V P                  W#V,
          4      p M(V P                  V4      p MVe   V P                  ^ V4      p \        V\        P                  4      '       g#   \        P                  ! WP
                  R7      pMKV P
                  VP
                  8w  d1   \        P                  ! VP                  4       V P
                  R7      p\        VR7      p\        RV .WT4      pVeV   VP                  4       ^ 8¼  dA   \        P                  ! VP                  4       V,           \        P                  ! 4       R7      pV# )a¨  
Find the index of the first occurrence of a given value.

Parameters
----------
data : Array-like
value : Scalar-like object
    The value to search for.
start : int, optional
end : int, optional
memory_pool : MemoryPool, optional
    If not passed, will allocate memory from the default memory pool.

Returns
-------
index : int
    the index, or -1 if not found

Examples
--------
>>> import pyarrow as pa
>>> import pyarrow.compute as pc
>>> arr = pa.array(["Lorem", "ipsum", "dolor", "sit", "Lorem", "ipsum"])
>>> pc.index(arr, "ipsum")
<pyarrow.Int64Scalar: 1>
>>> pc.index(arr, "ipsum", start=2)
<pyarrow.Int64Scalar: 5>
>>> pc.index(arr, "amet")
<pyarrow.Int64Scalar: -1>
©r|   ©ÚvalueÚindex)
Úslicer�   rÖ   ÚScalarÚscalarr|   Úas_pyr   rH   Úint64)Údatarâ   ÚstartÚendr£   rž   Úresults   &&&&$  r\   rã   rã   ¡  sä   € ð> ÒØŠ?Ø—:‘:˜e¨5¥[Ó1‰Dà—:‘:˜eÓ$‰DØ	ŠØ�z‰z˜!˜SÓ!ˆä�eœRŸY™Y×'Ò'Ü—	’	˜%§i¡iÔ0‰Ø	�‰�e—j‘jÔ	 Ü—	’	˜%Ÿ+™+›-¨d¯i©iÔ8ˆÜ Ô'€GÜ˜7 T F¨GÓA€FØÒ˜VŸ\™\›^¨qÔ0Ü—’˜6Ÿ<™<›>¨EÕ1¼¿º»
ÔCˆØ€Mr^   ÚboundscheckTc               ó6   € \        VR7      p\        RW.WC4      # )a  
Select values (or records) from array- or table-like data given integer
selection indices.

The result will be of the same type(s) as the input, with elements taken
from the input array (or record batch / table fields) at the given
indices. If an index is null then the corresponding value in the output
will be null.

Parameters
----------
data : Array, ChunkedArray, RecordBatch, or Table
indices : Array, ChunkedArray
    Must be of integer type
boundscheck : boolean, default True
    Whether to boundscheck the indices. If False and there is an out of
    bounds index, will likely cause the process to crash.
memory_pool : MemoryPool, optional
    If not passed, will allocate memory from the default memory pool.

Returns
-------
result : depends on inputs
    Selected values for the given indices

Examples
--------
>>> import pyarrow as pa
>>> arr = pa.array(["a", "b", "c", None, "e", "f"])
>>> indices = pa.array([0, None, 4, 3])
>>> arr.take(indices)
<pyarrow.lib.StringArray object at ...>
[
  "a",
  null,
  "e",
  null
]
)rí   Útake)r@   rH   )ré   Úindicesrí   r£   rž   s   &&$$ r\   rï   rï   Ó  s    € ôP  kÔ2€GÜ˜ $ °'ÓGÐGr^   c                ót  € \        V\        P                  \        P                  \        P                  34      '       g#   \        P
                  ! WP                  R7      pMKV P                  VP                  8w  d1   \        P
                  ! VP                  4       V P                  R7      p\        RW.4      # )a¹  Replace each null element in values with a corresponding
element from fill_value.

If fill_value is scalar-like, then every null element in values
will be replaced with fill_value. If fill_value is array-like,
then the i-th element in values will be replaced with the i-th
element in fill_value.

The fill_value's type must be the same as that of values, or it
must be able to be implicitly casted to the array's type.

This is an alias for :func:`coalesce`.

Parameters
----------
values : Array, ChunkedArray, or Scalar-like object
    Each null element is replaced with the corresponding value
    from fill_value.
fill_value : Array, ChunkedArray, or Scalar-like object
    If not same type as values, will attempt to cast.

Returns
-------
result : depends on inputs
    Values with all null elements replaced

Examples
--------
>>> import pyarrow as pa
>>> arr = pa.array([1, 2, None, 3], type=pa.int8())
>>> fill_value = pa.scalar(5, type=pa.int8())
>>> arr.fill_null(fill_value)
<pyarrow.lib.Int8Array object at ...>
[
  1,
  2,
  5,
  3
]
>>> arr = pa.array([1, 2, None, 4, None])
>>> arr.fill_null(pa.array([10, 20, 30, 40, 50]))
<pyarrow.lib.Int64Array object at ...>
[
  1,
  2,
  30,
  4,
  50
]
rà   Úcoalesce)	r�   rÖ   ÚArrayÚChunkedArrayrå   ræ   r|   rç   rH   )r„   Ú
fill_values   &&r\   Ú	fill_nullrö   ÿ  st   € ôf �j¤2§8¡8¬R¯_©_¼b¿i¹iÐ"H×IÒIÜ—Y’Y˜z·±Ô<‰
Ø	�‰˜
Ÿ™Ô	'Ü—Y’Y˜z×/Ñ/Ó1¸¿¹ÔDˆ
ä˜ fÐ%9Ó:Ð:r^   c               óÞ   € Vf   . p\        V \        P                  \        P                  34      '       d   VP	                  R4       M\        R V4      p\        W4      p\        RV .WC4      # )a<  
Select the indices of the top-k ordered elements from array- or table-like
data.

This is a specialization for :func:`select_k_unstable`. Output is not
guaranteed to be stable.

Parameters
----------
values : Array, ChunkedArray, RecordBatch, or Table
    Data to sort and get top indices from.
k : int
    The number of `k` elements to keep.
sort_keys : List-like
    Column key names to order by when input is table-like data.
memory_pool : MemoryPool, optional
    If not passed, will allocate memory from the default memory pool.

Returns
-------
result : Array
    Indices of the top-k ordered elements

Examples
--------
>>> import pyarrow as pa
>>> import pyarrow.compute as pc
>>> arr = pa.array(["a", "b", "c", None, "e", "f"])
>>> pc.top_k_unstable(arr, k=3)
<pyarrow.lib.UInt64Array object at ...>
[
  5,
  4,
  2
]
c                 ó
   € V R 3# )Ú
descendingr›   ©Úkey_names   &r\   Ú<lambda>Ú top_k_unstable.<locals>.<lambda>d  s	   € ¨(°LÑ)Ar^   Úselect_k_unstable)Údummyrù   ©r�   rÖ   ró   rô   rv   Úmapr6   rH   ©r„   ÚkÚ	sort_keysr£   rž   s   &&&$ r\   Útop_k_unstabler  :  sb   € ðJ ÒØˆ	Ü�&œ2Ÿ8™8¤R§_¡_Ð5×6Ò6Ø×ÑÐ0Õ1äÑAÀ9ÓMˆ	Ü˜QÓ*€GÜÐ,¨v¨h¸ÓMÐMr^   c               óÞ   € Vf   . p\        V \        P                  \        P                  34      '       d   VP	                  R4       M\        R V4      p\        W4      p\        RV .WC4      # )aS  
Select the indices of the bottom-k ordered elements from
array- or table-like data.

This is a specialization for :func:`select_k_unstable`. Output is not
guaranteed to be stable.

Parameters
----------
values : Array, ChunkedArray, RecordBatch, or Table
    Data to sort and get bottom indices from.
k : int
    The number of `k` elements to keep.
sort_keys : List-like
    Column key names to order by when input is table-like data.
memory_pool : MemoryPool, optional
    If not passed, will allocate memory from the default memory pool.

Returns
-------
result : Array of indices
    Indices of the bottom-k ordered elements

Examples
--------
>>> import pyarrow as pa
>>> import pyarrow.compute as pc
>>> arr = pa.array(["a", "b", "c", None, "e", "f"])
>>> pc.bottom_k_unstable(arr, k=3)
<pyarrow.lib.UInt64Array object at ...>
[
  0,
  1,
  2
]
c                 ó
   € V R 3# )Ú	ascendingr›   rú   s   &r\   rü   Ú#bottom_k_unstable.<locals>.<lambda>“  s	   € ¨(°KÑ)@r^   rþ   )rÿ   r  r   r  s   &&&$ r\   Úbottom_k_unstabler
  i  sb   € ðJ ÒØˆ	Ü�&œ2Ÿ8™8¤R§_¡_Ð5×6Ò6Ø×ÑÐ/Õ0äÑ@À)ÓLˆ	Ü˜QÓ*€GÜÐ,¨v¨h¸ÓMÐMr^   ÚinitializerÚsystemrž   c               ó8   € \        VR7      p\        R. W#V R7      # )aú  
Generate numbers in the range [0, 1).

Generated values are uniformly-distributed, double-precision
in range [0, 1). Algorithm and seed can be changed via RandomOptions.

Parameters
----------
n : int
    Number of values to generate, must be greater than or equal to 0
initializer : int or str
    How to initialize the underlying random generator.
    If an integer is given, it is used as a seed.
    If "system" is given, the random generator is initialized with
    a system-specific source of (hopefully true) randomness.
    Other values are invalid.
options : pyarrow.compute.RandomOptions, optional
    Alternative way of passing options.
memory_pool : pyarrow.MemoryPool, optional
    If not passed, will allocate memory from the default memory pool.
)r  Úrandom)Úlength)r+   rH   )Únr  rž   r£   s   &$$$r\   r  r  ˜  s   € ô, ¨Ô4€GÜ˜ 2 wÀAÔFÐFr^   c                 ó‚  € \        V 4      pV^8X  d™   \        V ^ ,          \        \        34      '       d   \        P
                  ! V ^ ,          4      # \        V ^ ,          \        4      '       d   \        P                  ! V ^ ,          4      # \        R\        V ^ ,          4       24      h\        P                  ! V 4      # )a�  Reference a column of the dataset.

Stores only the field's name. Type and other information is known only when
the expression is bound to a dataset having an explicit scheme.

Nested references are allowed by passing multiple names or a tuple of
names. For example ``('foo', 'bar')`` references the field named "bar"
inside the field named "foo".

Parameters
----------
*name_or_index : string, multiple strings, tuple or int
    The name or index of the (possibly nested) field the expression
    references to.

Returns
-------
field_expr : Expression
    Reference to the given field

Examples
--------
>>> import pyarrow.compute as pc
>>> pc.field("a")
<pyarrow.compute.Expression a>
>>> pc.field(1)
<pyarrow.compute.Expression FieldPath(1)>
>>> pc.field(("a", "b"))
<pyarrow.compute.Expression FieldRef.Nested(FieldRef.Name(a) ...
>>> pc.field("a", "b")
<pyarrow.compute.Expression FieldRef.Nested(FieldRef.Name(a) ...
zCfield reference should be str, multiple str, tuple or integer, got )
r©   r�   ÚstrÚintrR   Ú_fieldÚtupleÚ_nested_fieldrœ   r|   )Úname_or_indexr  s   * r\   Úfieldr  ²  s¤   € ôB 	ˆMÓ€AØˆA„vÜ�m AÕ&¬¬c¨
×3Ò3Ü×$Ò$ ]°1Õ%5Ó6Ð6Ü˜ aÕ(¬%×0Ò0Ü×+Ò+¨M¸!Õ,<Ó=Ð=äð Ü $ ]°1Õ%5Ó 6Ð7ð9óð ô ×'Ò'¨Ó6Ð6r^   c                ó.   € \         P                  ! V 4      # )a7  Expression representing a scalar value.

Creates an Expression object representing a scalar value that can be used
in compute expressions and predicates.

Parameters
----------
value : bool, int, float or string
    Python value of the scalar. This function accepts any value that can be
    converted to a ``pyarrow.Scalar`` using ``pa.scalar()``.

Notes
-----
This function differs from ``pyarrow.scalar()`` in the following way:

* ``pyarrow.scalar()`` creates a ``pyarrow.Scalar`` object that represents
  a single value in Arrow's memory model.
* ``pyarrow.compute.scalar()`` creates an ``Expression`` object representing
  a scalar value that can be used in compute expressions, predicates, and
  dataset filtering operations.

Returns
-------
scalar_expr : Expression
    An Expression representing the scalar value
)rR   Ú_scalarrá   s   &r\   ræ   ræ   ã  s   € ô6 ×Ò˜eÓ$Ð$r^   )r{   )NNNN)NNrX   )rÚpyarrow._computer   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   ÚcollectionsrS   r�   ÚtextwraprT   r~   ÚpyarrowrÖ   rU   Úpyarrow.vendoredrV   r]   r_   rf   r”   r™   r¡   r±   r¼   rÆ   rÑ   r–   Ú
utf8_zfillrÒ   rÔ   rã   rï   rö   r  r
  r  r  ræ   r›   r^   r\   Ú<module>r!     sm  ð÷$U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ U÷ Uó Uõn #Û Ý Û ã Ý 'Ý &òñ Ð0°+Ó>Ð ò/òPòf	òò(ò>%ò.Jò ;ñ: Ô á%›iÐ(8Õ9Ð 9€
ˆ^ôB>ñJ/¸Dõ /ðd)H tð )H¸ô )HòX8;ñv,N¸Tõ ,Nñ^,NÀõ ,Nð^G˜Xð G¨tð GÀô Gò4.7ôb%r^   