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

Function test_timestamp_with_nulls

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

Source from the content-addressed store, hash-verified

480
481@pytest.mark.pandas
482def test_timestamp_with_nulls(version):
483 df = pd.DataFrame({'test': [pd.Timestamp(2016, 1, 1),
484 None,
485 pd.Timestamp(2016, 1, 3)]})
486 df['with_tz'] = df.test.dt.tz_localize('utc')
487
488 _check_pandas_roundtrip(df, version=version)
489
490
491@pytest.mark.pandas

Callers

nothing calls this directly

Calls 2

_check_pandas_roundtripFunction · 0.70
TimestampMethod · 0.45

Tested by

no test coverage detected