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

Function test_array_from_naive_datetimes

python/pyarrow/tests/test_array.py:2651–2657  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2649
2650
2651def test_array_from_naive_datetimes():
2652 arr = pa.array([
2653 None,
2654 datetime.datetime(2017, 4, 4, 12, 11, 10),
2655 datetime.datetime(2018, 1, 1, 0, 2, 0)
2656 ])
2657 assert arr.type == pa.timestamp('us', tz=None)
2658
2659
2660@pytest.mark.numpy

Callers

nothing calls this directly

Calls 2

datetimeMethod · 0.80
arrayMethod · 0.45

Tested by

no test coverage detected