14
14
from ibis .common .grounds import Singleton
15
15
from ibis .expr .rewrites import rewrite_window_input
16
16
from ibis .expr .types .core import Expr , _binop , _FixedTextJupyterMixin , _is_null_literal
17
- from ibis .util import deprecated , promote_list , warn_deprecated
17
+ from ibis .util import deprecated , promote_list
18
18
19
19
if TYPE_CHECKING :
20
20
import pandas as pd
@@ -2142,9 +2142,7 @@ def topk(
2142
2142
2143
2143
return table .aggregate (metric , by = [self ]).order_by (metric .desc ()).limit (k )
2144
2144
2145
- def arbitrary (
2146
- self , where : ir .BooleanValue | None = None , how : Any = None
2147
- ) -> Scalar :
2145
+ def arbitrary (self , where : ir .BooleanValue | None = None ) -> Scalar :
2148
2146
"""Select an arbitrary value in a column.
2149
2147
2150
2148
Returns an arbitrary (nondeterministic, backend-specific) value from
@@ -2155,8 +2153,6 @@ def arbitrary(
2155
2153
----------
2156
2154
where
2157
2155
A filter expression
2158
- how
2159
- DEPRECATED
2160
2156
2161
2157
Returns
2162
2158
-------
@@ -2188,13 +2184,6 @@ def arbitrary(
2188
2184
│ 2 │ a │ 8.3 │
2189
2185
└───────┴────────┴─────────┘
2190
2186
"""
2191
- if how is not None :
2192
- warn_deprecated (
2193
- name = "how" ,
2194
- as_of = "9.0" ,
2195
- removed_in = "10.0" ,
2196
- instead = "call `first` or `last` explicitly" ,
2197
- )
2198
2187
return ops .Arbitrary (self , where = self ._bind_to_parent_table (where )).to_expr ()
2199
2188
2200
2189
def count (self , where : ir .BooleanValue | None = None ) -> ir .IntegerScalar :
0 commit comments