BlogDocs

feat: Update `DataFrame.pivot` to allow `index=None` when `values` is set(#17126)

Merged
Comparing
MarcoGorelli:optional-values
(
eb89ca6
) with
main
(
21602ba
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
37
NEW
0
DROPPED
0
IGNORED
1

Benchmarks

Passed

test_tpch_q10
py-polars/tests/benchmark/test_tpch.py::test_tpch_q10
+7%
6.7 ms
6.2 ms
test_tpch_q4
py-polars/tests/benchmark/test_tpch.py::test_tpch_q4
+5%
5 ms
4.8 ms
test_tpch_q22
py-polars/tests/benchmark/test_tpch.py::test_tpch_q22
+5%
6.8 ms
6.5 ms
test_tpch_q14
py-polars/tests/benchmark/test_tpch.py::test_tpch_q14
+4%
2.1 ms
2 ms
test_filter1
py-polars/tests/benchmark/test_filter.py::test_filter1
+4%
797.4 µs
764.5 µs
test_tpch_q12
py-polars/tests/benchmark/test_tpch.py::test_tpch_q12
+4%
6.4 ms
6.1 ms
test_tpch_q6
py-polars/tests/benchmark/test_tpch.py::test_tpch_q6
+3%
2 ms
1.9 ms
test_groupby_h2oai_q4
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q4
+2%
1.9 ms
1.9 ms
test_tpch_q8
py-polars/tests/benchmark/test_tpch.py::test_tpch_q8
+2%
6.5 ms
6.4 ms
test_groupby_h2oai_q10
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q10
+2%
6.3 ms
6.1 ms
test_tpch_q16
py-polars/tests/benchmark/test_tpch.py::test_tpch_q16
+2%
7.3 ms
7.2 ms
test_tpch_q13
py-polars/tests/benchmark/test_tpch.py::test_tpch_q13
+1%
10 ms
9.8 ms
test_groupby_h2oai_q8
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q8
+1%
2.8 ms
2.8 ms
test_groupby_h2oai_q6
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q6
+1%
12.5 ms
12.3 ms
test_tpch_q15
py-polars/tests/benchmark/test_tpch.py::test_tpch_q15
+1%
2.5 ms
2.5 ms
test_tpch_q20
py-polars/tests/benchmark/test_tpch.py::test_tpch_q20
+1%
6.3 ms
6.3 ms
test_groupby_h2oai_q1
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q1
+1%
2.4 ms
2.4 ms
test_tpch_q1
py-polars/tests/benchmark/test_tpch.py::test_tpch_q1
+1%
16.5 ms
16.4 ms
test_tpch_q18
py-polars/tests/benchmark/test_tpch.py::test_tpch_q18
0%
11.9 ms
11.9 ms
test_tpch_q5
py-polars/tests/benchmark/test_tpch.py::test_tpch_q5
0%
5.1 ms
5.1 ms
test_groupby_h2oai_q5
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q5
0%
1.9 ms
1.9 ms
test_tpch_q21
py-polars/tests/benchmark/test_tpch.py::test_tpch_q21
0%
207.1 ms
207.3 ms
test_to_numpy_series_chunked
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_chunked
0%
275.5 µs
276 µs
test_to_numpy_series_zero_copy
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_zero_copy
0%
127.6 µs
128 µs
test_write_read_scan_large_csv
py-polars/tests/benchmark/test_io.py::test_write_read_scan_large_csv
0%
32.9 ms
33 ms
test_tpch_q17
py-polars/tests/benchmark/test_tpch.py::test_tpch_q17
-1%
6.9 ms
7 ms
test_tpch_q9
py-polars/tests/benchmark/test_tpch.py::test_tpch_q9
-2%
25.3 ms
25.8 ms
test_groupby_h2oai_q2
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q2
-2%
4.5 ms
4.6 ms
test_groupby_h2oai_q3
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q3
-2%
2.6 ms
2.7 ms
test_groupby_h2oai_q9
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q9
-3%
24.5 ms
25.1 ms
test_tpch_q3
py-polars/tests/benchmark/test_tpch.py::test_tpch_q3
-3%
5.9 ms
6.1 ms
test_to_numpy_series_with_nulls
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_with_nulls
-4%
301.1 µs
314.7 µs
test_tpch_q7
py-polars/tests/benchmark/test_tpch.py::test_tpch_q7
-5%
9.4 ms
9.9 ms
test_tpch_q19
py-polars/tests/benchmark/test_tpch.py::test_tpch_q19
-7%
7.6 ms
8.2 ms
test_tpch_q11
py-polars/tests/benchmark/test_tpch.py::test_tpch_q11
-7%
4.3 ms
4.6 ms
test_groupby_h2oai_q7
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q7
-7%
2.2 ms
2.3 ms
test_tpch_q2
py-polars/tests/benchmark/test_tpch.py::test_tpch_q2
-13%
4.7 ms
5.3 ms

Ignored

test_filter2Ignored
py-polars/tests/benchmark/test_filter.py::test_filter2
-6%
1 ms
1.1 ms

Commits

Click on a commit to change the comparison range
base
main
21602ba
0%
feat: let `index` and `values` both be optional in `pivot`
eb89ca6
5 months ago
by MarcoGorelli
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.