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

Function test_timestamp_with_nulls

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

Source from the content-addressed store, hash-verified

487
488@pytest.mark.pandas
489def test_timestamp_with_nulls(version):
490 df = pd.DataFrame({'test': [pd.Timestamp(2016, 1, 1),
491 None,
492 pd.Timestamp(2016, 1, 3)]})
493 df['with_tz'] = df.test.dt.tz_localize('utc')
494
495 _check_pandas_roundtrip(df, version=version)
496
497
498@pytest.mark.pandas

Callers

nothing calls this directly

Calls 2

_check_pandas_roundtripFunction · 0.70
TimestampMethod · 0.45

Tested by

no test coverage detected