diff --git a/docs/source/cpp/compute.rst b/docs/source/cpp/compute.rst index a328d7d07655..f7eb865c4ecd 100644 --- a/docs/source/cpp/compute.rst +++ b/docs/source/cpp/compute.rst @@ -1016,6 +1016,8 @@ String transforms +-------------------------+--------+-----------------------------------------+------------------------+-----------------------------------+-------+ | utf8_lower | Unary | String-like | String-like | | \(9) | +-------------------------+--------+-----------------------------------------+------------------------+-----------------------------------+-------+ +| utf8_normalize | Unary | String-like | String-like | :struct:`Utf8NormalizeOptions` | | ++-------------------------+--------+-----------------------------------------+------------------------+-----------------------------------+-------+ | utf8_replace_slice | Unary | String-like | String-like | :struct:`ReplaceSliceOptions` | \(7) | +-------------------------+--------+-----------------------------------------+------------------------+-----------------------------------+-------+ | utf8_reverse | Unary | String-like | String-like | | \(11) | @@ -1792,18 +1794,20 @@ Statistical functions Associative transforms ~~~~~~~~~~~~~~~~~~~~~~ -+-------------------+-------+-----------------------------------+-------------+-------+ -| Function name | Arity | Input types | Output type | Notes | -+===================+=======+===================================+=============+=======+ -| dictionary_encode | Unary | Boolean, Null, Numeric, | Dictionary | \(1) | -| | | Temporal, Binary- and String-like | | | -+-------------------+-------+-----------------------------------+-------------+-------+ -| unique | Unary | Boolean, Null, Numeric, | Input type | \(2) | -| | | Temporal, Binary- and String-like | | | -+-------------------+-------+-----------------------------------+-------------+-------+ -| value_counts | Unary | Boolean, Null, Numeric, | Input type | \(3) | -| | | Temporal, Binary- and String-like | | | -+-------------------+-------+-----------------------------------+-------------+-------+ ++-------------------+-------+-----------------------------------+-------------+------------------------------------+-------+ +| Function name | Arity | Input types | Output type | Options class | Notes | ++===================+=======+===================================+=============+====================================+=======+ +| dictionary_encode | Unary | Boolean, Null, Numeric, | Dictionary | :struct:`DictionaryEncodeOptions` | \(1) | +| | | Temporal, Binary- and String-like | | | | ++-------------------+-------+-----------------------------------+-------------+------------------------------------+-------+ +| dictionary_decode | Unary | Dictionary | Input type | | \(4) | ++-------------------+-------+-----------------------------------+-------------+------------------------------------+-------+ +| unique | Unary | Boolean, Null, Numeric, | Input type | | \(2) | +| | | Temporal, Binary- and String-like | | | | ++-------------------+-------+-----------------------------------+-------------+------------------------------------+-------+ +| value_counts | Unary | Boolean, Null, Numeric, | Input type | | \(3) | +| | | Temporal, Binary- and String-like | | | | ++-------------------+-------+-----------------------------------+-------------+------------------------------------+-------+ * \(1) Output is ``Dictionary(Int32, input type)``. It is a no-op if input is already a Dictionary array. @@ -1815,6 +1819,8 @@ Associative transforms Each output element corresponds to a unique value in the input, along with the number of times this value has appeared. +* \(4) If the input is not a Dictionary array, it is returned unchanged. + Selections ~~~~~~~~~~ diff --git a/docs/source/python/api/compute.rst b/docs/source/python/api/compute.rst index 43bcd0479ce5..f150975ab714 100644 --- a/docs/source/python/api/compute.rst +++ b/docs/source/python/api/compute.rst @@ -552,6 +552,7 @@ Sorts and Partitions rank rank_normal rank_quantile + search_sorted select_k_unstable sort_indices top_k_unstable @@ -637,6 +638,7 @@ Compute Options RunEndEncodeOptions ScalarAggregateOptions ScatterOptions + SearchSortedOptions SelectKOptions SetLookupOptions SkewOptions