MCPcopy Create free account
hub / github.com/apache/arrow / tz

Function tz

python/pyarrow/tests/test_convert_builtin.py:1036–1038  ·  view source on GitHub ↗
(hours, minutes=0)

Source from the content-addressed store, hash-verified

1034 assert arr[4].as_py() == expected_time_value(data[4])
1035
1036 def tz(hours, minutes=0):
1037 offset = datetime.timedelta(hours=hours, minutes=minutes)
1038 return datetime.timezone(offset)
1039
1040
1041def test_sequence_timestamp():

Callers

nothing calls this directly

Calls 1

timezoneMethod · 0.80

Tested by

no test coverage detected