File tree 1 file changed +18
-0
lines changed
spec/API_specification/dataframe_api
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -431,6 +431,24 @@ def isnan(self) -> Column:
431
431
In particular, does not check for `np.timedelta64('NaT')`.
432
432
"""
433
433
434
+ def is_in (self , values : Column ) -> Column [bool ]:
435
+ """
436
+ Indicate whether the value at each row matches any value in `values`.
437
+
438
+ Parameters
439
+ ----------
440
+ values : Column
441
+ Contains values to compare against. May include ``float('nan')`` and
442
+ ``null``, in which case ``'nan'`` and ``null`` will
443
+ respectively return ``True`` even though ``float('nan') == float('nan')``
444
+ isn't ``True``.
445
+ The dtype of ``values`` must match the current column's dtype.
446
+
447
+ Returns
448
+ -------
449
+ Column[bool]
450
+ """
451
+
434
452
def unique_indices (self , * , skip_nulls : bool = True ) -> Column [int ]:
435
453
"""
436
454
Return indices corresponding to unique values in Column.
You can’t perform that action at this time.
0 commit comments