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

feat(python): Support zero-copy conversion for temporal types in `DataFrame.to_numpy`

#16429Merged
Comparing
to-np-cleanup
(
a714d42
) with
main
(
30a5534
)
0%
Improvements
0
Regressions
0
Untouched
37
New
0
Dropped
0
Ignored
1

Benchmarks

Passed

test_tpch_q2
py-polars/tests/benchmark/test_tpch.py::test_tpch_q2
+12%
4.4 ms
4 ms
test_groupby_h2oai_q1
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q1
+11%
2.3 ms
2 ms
test_tpch_q4
py-polars/tests/benchmark/test_tpch.py::test_tpch_q4
+7%
4.4 ms
4.2 ms
test_tpch_q3
py-polars/tests/benchmark/test_tpch.py::test_tpch_q3
+4%
5.4 ms
5.2 ms
test_tpch_q12
py-polars/tests/benchmark/test_tpch.py::test_tpch_q12
+3%
5.7 ms
5.5 ms
test_tpch_q7
py-polars/tests/benchmark/test_tpch.py::test_tpch_q7
+2%
8.3 ms
8.1 ms
test_tpch_q1
py-polars/tests/benchmark/test_tpch.py::test_tpch_q1
+2%
16.3 ms
15.9 ms
test_tpch_q19
py-polars/tests/benchmark/test_tpch.py::test_tpch_q19
+2%
7.2 ms
7 ms
test_tpch_q13
py-polars/tests/benchmark/test_tpch.py::test_tpch_q13
+2%
9.4 ms
9.2 ms
test_groupby_h2oai_q4
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q4
+2%
1.8 ms
1.8 ms
test_groupby_h2oai_q10
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q10
+2%
6.3 ms
6.2 ms
test_tpch_q16
py-polars/tests/benchmark/test_tpch.py::test_tpch_q16
+1%
6.6 ms
6.5 ms
test_groupby_h2oai_q6
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q6
+1%
12 ms
11.9 ms
test_write_read_scan_large_csv
py-polars/tests/benchmark/test_io.py::test_write_read_scan_large_csv
+1%
33.5 ms
33.2 ms
test_groupby_h2oai_q8
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q8
0%
2.6 ms
2.6 ms
test_tpch_q8
py-polars/tests/benchmark/test_tpch.py::test_tpch_q8
0%
5.6 ms
5.6 ms
test_groupby_h2oai_q7
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q7
0%
2 ms
2 ms
test_tpch_q21
py-polars/tests/benchmark/test_tpch.py::test_tpch_q21
0%
191 ms
190.9 ms
test_to_numpy_series_with_nulls
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_with_nulls
0%
311.5 µs
311.6 µs
test_groupby_h2oai_q9
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q9
0%
23.9 ms
23.9 ms
test_tpch_q15
py-polars/tests/benchmark/test_tpch.py::test_tpch_q15
0%
2.2 ms
2.2 ms
test_tpch_q11
py-polars/tests/benchmark/test_tpch.py::test_tpch_q11
0%
3.6 ms
3.6 ms
test_groupby_h2oai_q2
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q2
0%
4.3 ms
4.3 ms
test_tpch_q9
py-polars/tests/benchmark/test_tpch.py::test_tpch_q9
0%
25 ms
25.1 ms
test_filter1
py-polars/tests/benchmark/test_filter.py::test_filter1
-1%
741.5 µs
749.8 µs
test_to_numpy_series_chunked
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_chunked
-2%
268.5 µs
274.1 µs
test_tpch_q22
py-polars/tests/benchmark/test_tpch.py::test_tpch_q22
-3%
5.8 ms
5.9 ms
test_groupby_h2oai_q5
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q5
-3%
1.8 ms
1.8 ms
test_tpch_q17
py-polars/tests/benchmark/test_tpch.py::test_tpch_q17
-3%
6.5 ms
6.7 ms
test_tpch_q18
py-polars/tests/benchmark/test_tpch.py::test_tpch_q18
-4%
11 ms
11.4 ms
test_tpch_q10
py-polars/tests/benchmark/test_tpch.py::test_tpch_q10
-4%
5.9 ms
6.1 ms
test_tpch_q6
py-polars/tests/benchmark/test_tpch.py::test_tpch_q6
-5%
1.9 ms
1.9 ms
test_to_numpy_series_zero_copy
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_zero_copy
-5%
121.8 µs
127.8 µs
test_groupby_h2oai_q3
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q3
-5%
2.3 ms
2.4 ms
test_tpch_q20
py-polars/tests/benchmark/test_tpch.py::test_tpch_q20
-7%
6.1 ms
6.5 ms
test_tpch_q14
py-polars/tests/benchmark/test_tpch.py::test_tpch_q14
-7%
1.9 ms
2.1 ms
test_tpch_q5
py-polars/tests/benchmark/test_tpch.py::test_tpch_q5
-7%
4.4 ms
4.7 ms

Ignored

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

Commits

Click on a commit to change the comparison range
Base
main
30a5534
+1%
Add parametric test
95b9b7b
6 months ago
by stinodego
-1%
Refactor
a714d42
6 months ago
by stinodego
Home Terms PrivacyDocs