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

Function make_datetimetz

python/pyarrow/pandas_compat.py:792–796  ·  view source on GitHub ↗
(unit, tz)

Source from the content-addressed store, hash-verified

790
791
792def make_datetimetz(unit, tz):
793 if _pandas_api.is_v1():
794 unit = 'ns' # ARROW-3789: Coerce date/timestamp types to datetime64[ns]
795 tz = pa.lib.string_to_tzinfo(tz, prefer_zoneinfo=_pandas_api.is_ge_v3())
796 return _pandas_api.datetimetz_type(unit, tz=tz)
797
798
799def table_to_dataframe(

Callers 1

_reconstruct_blockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected