Avatar for the pola-rs user
pola-rs
polars
BlogDocsChangelog

feat: Add `cat.contains` and `cat.contains_any`

#20582
Comparing
mcrumiller:cat-contains
(
cface6b
) with
main
(
5e51218
)
CodSpeed Performance Gauge
0%
Untouched
41
Ignored
1

Benchmarks

42 total
test_pdsh_q15
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
+7%
3.8 ms3.6 ms
test_pdsh_q20
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
+6%
8.8 ms8.3 ms
test_pdsh_q11
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
+4%
3.7 ms3.5 ms
test_pdsh_q2
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
+3%
4.6 ms4.5 ms
test_to_numpy_series_zero_copy
py-polars/tests/benchmark/interop/test_numpy.py
CodSpeed Performance Gauge
+3%
132.6 µs129.1 µs
test_groupby_h2oai_q5
py-polars/tests/benchmark/test_group_by.py
CodSpeed Performance Gauge
+3%
2 ms1.9 ms
test_pdsh_q16
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
+3%
12.4 ms12.1 ms
test_filter1
py-polars/tests/benchmark/test_filter.py
CodSpeed Performance Gauge
+2%
753.5 µs735.3 µs
test_groupby_h2oai_q7
py-polars/tests/benchmark/test_group_by.py
CodSpeed Performance Gauge
+2%
2 ms1.9 ms
test_pdsh_q19
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
+2%
9.9 ms9.8 ms
test_pdsh_q12
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
+1%
9.1 ms9 ms
test_pdsh_q8
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
+1%
8.3 ms8.2 ms
test_pdsh_q17
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
+1%
7.6 ms7.5 ms
test_pdsh_q13
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
+1%
22.2 ms22 ms
test_to_numpy_series_with_nulls
py-polars/tests/benchmark/interop/test_numpy.py
CodSpeed Performance Gauge
+1%
346.6 µs343.7 µs
test_write_read_scan_large_csv
py-polars/tests/benchmark/test_io.py
CodSpeed Performance Gauge
0%
37.6 ms37.4 ms
test_pdsh_q7
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
0%
10.2 ms10.2 ms
test_pdsh_q9
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
0%
28 ms28 ms
test_pdsh_q3
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
0%
9.1 ms9.1 ms
test_to_numpy_series_chunked
py-polars/tests/benchmark/interop/test_numpy.py
CodSpeed Performance Gauge
0%
272.9 µs272.4 µs
test_non_strict_inequalities
py-polars/tests/benchmark/test_join_where.py
CodSpeed Performance Gauge
0%
188.3 ms188.4 ms
test_groupby_h2oai_q6
py-polars/tests/benchmark/test_group_by.py
CodSpeed Performance Gauge
0%
9.1 ms9.1 ms
test_datetime_range_fast_slow_paths
py-polars/tests/unit/functions/range/test_datetime_range.py
CodSpeed Performance Gauge
0%
277.9 ms278.4 ms
test_strict_inequalities
py-polars/tests/benchmark/test_join_where.py
CodSpeed Performance Gauge
0%
183.8 ms184.4 ms
test_pdsh_q6
py-polars/tests/benchmark/test_pdsh.py
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms

Commits

Click on a commit to change the comparison range
Base
main
5e51218
+0.48%
Combine functions
a026db3
1 year ago
by mcrumiller
-0.2%
ContainsMany -> ContainsAny
8e12944
1 year ago
by mcrumiller
-0.24%
Reorder sentences
cface6b
1 year ago
by mcrumiller
© 2026 CodSpeed Technology
Home Terms Privacy Docs