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

Function test_timestamp

python/pyarrow/tests/test_feather.py:480–485  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

478
479@pytest.mark.pandas
480def test_timestamp(version):
481 df = pd.DataFrame({'naive': pd.date_range('2016-03-28', periods=10)})
482 df['with_tz'] = (df.naive.dt.tz_localize('utc')
483 .dt.tz_convert('America/Los_Angeles'))
484
485 _check_pandas_roundtrip(df, version=version)
486
487
488@pytest.mark.pandas

Callers

nothing calls this directly

Calls 1

_check_pandas_roundtripFunction · 0.70

Tested by

no test coverage detected