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

feat: Convert to given time zone in `.str.to_datetime` when values are offset-aware

#16742Merged
Comparing
MarcoGorelli:convert-to-tz
(
dc75b4c
) with
main
(
eaedf74
)
CodSpeed Performance Gauge
-16%
Improvements
0
Regressions
1
Untouched
36
New
0
Dropped
0
Ignored
1

Benchmarks

Failed

test_groupby_h2oai_q3Regression
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q3
CodSpeed Performance Gauge
-16%
2.4 ms
2.9 ms

Passed

test_tpch_q10
py-polars/tests/benchmark/test_tpch.py::test_tpch_q10
CodSpeed Performance Gauge
+9%
6.8 ms
6.2 ms
test_groupby_h2oai_q2
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q2
CodSpeed Performance Gauge
+7%
4.8 ms
4.5 ms
test_groupby_h2oai_q8
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q8
CodSpeed Performance Gauge
+5%
2.9 ms
2.8 ms
test_tpch_q15
py-polars/tests/benchmark/test_tpch.py::test_tpch_q15
CodSpeed Performance Gauge
+5%
2.5 ms
2.4 ms
test_tpch_q16
py-polars/tests/benchmark/test_tpch.py::test_tpch_q16
CodSpeed Performance Gauge
+5%
7.2 ms
6.9 ms
test_tpch_q13
py-polars/tests/benchmark/test_tpch.py::test_tpch_q13
CodSpeed Performance Gauge
+4%
10.4 ms
9.9 ms
test_groupby_h2oai_q1
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q1
CodSpeed Performance Gauge
+4%
2.4 ms
2.3 ms
test_groupby_h2oai_q4
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q4
CodSpeed Performance Gauge
+4%
2 ms
1.9 ms
test_tpch_q7
py-polars/tests/benchmark/test_tpch.py::test_tpch_q7
CodSpeed Performance Gauge
+3%
9.5 ms
9.2 ms
test_write_read_scan_large_csv
py-polars/tests/benchmark/test_io.py::test_write_read_scan_large_csv
CodSpeed Performance Gauge
+3%
33.2 ms
32.1 ms
test_tpch_q22
py-polars/tests/benchmark/test_tpch.py::test_tpch_q22
CodSpeed Performance Gauge
+3%
6.8 ms
6.6 ms
test_groupby_h2oai_q5
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q5
CodSpeed Performance Gauge
+1%
1.9 ms
1.9 ms
test_tpch_q20
py-polars/tests/benchmark/test_tpch.py::test_tpch_q20
CodSpeed Performance Gauge
0%
6.5 ms
6.5 ms
test_to_numpy_series_zero_copy
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_zero_copy
CodSpeed Performance Gauge
0%
128 µs
127.8 µs
test_to_numpy_series_chunked
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_chunked
CodSpeed Performance Gauge
0%
276.8 µs
276.6 µs
test_groupby_h2oai_q6
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q6
CodSpeed Performance Gauge
0%
12.4 ms
12.4 ms
test_tpch_q19
py-polars/tests/benchmark/test_tpch.py::test_tpch_q19
CodSpeed Performance Gauge
0%
7.7 ms
7.7 ms
test_groupby_h2oai_q10
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q10
CodSpeed Performance Gauge
-1%
6.2 ms
6.2 ms
test_tpch_q4
py-polars/tests/benchmark/test_tpch.py::test_tpch_q4
CodSpeed Performance Gauge
-1%
4.9 ms
5 ms
test_groupby_h2oai_q9
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q9
CodSpeed Performance Gauge
-1%
24.5 ms
24.7 ms
test_tpch_q12
py-polars/tests/benchmark/test_tpch.py::test_tpch_q12
CodSpeed Performance Gauge
-1%
6.2 ms
6.2 ms
test_tpch_q18
py-polars/tests/benchmark/test_tpch.py::test_tpch_q18
CodSpeed Performance Gauge
-1%
11.4 ms
11.5 ms
test_filter1
py-polars/tests/benchmark/test_filter.py::test_filter1
CodSpeed Performance Gauge
-1%
774.8 µs
784.5 µs
test_tpch_q21
py-polars/tests/benchmark/test_tpch.py::test_tpch_q21
CodSpeed Performance Gauge
-1%
204.7 ms
207.3 ms
test_tpch_q8
py-polars/tests/benchmark/test_tpch.py::test_tpch_q8
CodSpeed Performance Gauge
-2%
6.4 ms
6.5 ms
test_tpch_q2
py-polars/tests/benchmark/test_tpch.py::test_tpch_q2
CodSpeed Performance Gauge
-3%
4.7 ms
4.8 ms
test_tpch_q11
py-polars/tests/benchmark/test_tpch.py::test_tpch_q11
CodSpeed Performance Gauge
-3%
4.2 ms
4.3 ms
test_tpch_q5
py-polars/tests/benchmark/test_tpch.py::test_tpch_q5
CodSpeed Performance Gauge
-3%
4.7 ms
4.9 ms
test_tpch_q14
py-polars/tests/benchmark/test_tpch.py::test_tpch_q14
CodSpeed Performance Gauge
-4%
2.1 ms
2.1 ms
test_tpch_q9
py-polars/tests/benchmark/test_tpch.py::test_tpch_q9
CodSpeed Performance Gauge
-4%
25.1 ms
26.1 ms
test_tpch_q3
py-polars/tests/benchmark/test_tpch.py::test_tpch_q3
CodSpeed Performance Gauge
-4%
5.8 ms
6.1 ms
test_tpch_q6
py-polars/tests/benchmark/test_tpch.py::test_tpch_q6
CodSpeed Performance Gauge
-4%
1.9 ms
2 ms
test_to_numpy_series_with_nulls
py-polars/tests/benchmark/interop/test_numpy.py::test_to_numpy_series_with_nulls
CodSpeed Performance Gauge
-5%
312 µs
327.5 µs
test_tpch_q1
py-polars/tests/benchmark/test_tpch.py::test_tpch_q1
CodSpeed Performance Gauge
-5%
16.3 ms
17.2 ms
test_tpch_q17
py-polars/tests/benchmark/test_tpch.py::test_tpch_q17
CodSpeed Performance Gauge
-7%
6.6 ms
7.1 ms
test_groupby_h2oai_q7
py-polars/tests/benchmark/test_group_by.py::test_groupby_h2oai_q7
CodSpeed Performance Gauge
-7%
2.1 ms
2.2 ms

Ignored

test_filter2Ignored
py-polars/tests/benchmark/test_filter.py::test_filter2
CodSpeed Performance Gauge
+1%
1.1 ms
1.1 ms

Commits

Click on a commit to change the comparison range
Base
main
eaedf74
0%
feat: convert to give time zone in .str.to_datetime when values are offset-aware
733ccdf
7 months ago
by MarcoGorelli
-16%
Update py-polars/tests/unit/operations/namespaces/test_strptime.py
dc75b4c
7 months ago
by stinodego
Home Terms PrivacyDocs