(unit, tz)
| 790 | |
| 791 | |
| 792 | def 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 | |
| 799 | def table_to_dataframe( |
no outgoing calls
no test coverage detected