/usr/local/lib64/python3.6/site-packages/pandas/tests/indexes/timedeltas
NameSizeModeActions
__pycache__/-0755rm
test_astype.py41250644editdlrm
test_constructors.py86630644editdlrm
test_delete.py23850644editdlrm
test_fillna.py5760644editdlrm
test_formats.py32750644editdlrm
test_indexing.py100600644editdlrm
test_insert.py40220644editdlrm
test_join.py14970644editdlrm
test_ops.py111910644editdlrm
test_partial_slicing.py13470644editdlrm
test_scalar_compat.py45160644editdlrm
test_searchsorted.py9980644editdlrm
test_setops.py93710644editdlrm
test_shift.py27720644editdlrm
test_timedelta.py74620644editdlrm
test_timedelta_range.py32580644editdlrm
__init__.py00644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/pandas/tests/indexes/timedeltas/test_fillna.py (576B)
from pandas import Index, NaT, Timedelta, TimedeltaIndex import pandas._testing as tm class TestFillNA: def test_fillna_timedelta(self): # GH#11343 idx = TimedeltaIndex(["1 day", NaT, "3 day"]) exp = TimedeltaIndex(["1 day", "2 day", "3 day"]) tm.assert_index_equal(idx.fillna(Timedelta("2 day")), exp) exp = TimedeltaIndex(["1 day", "3 hour", "3 day"]) idx.fillna(Timedelta("3 hour")) exp = Index([Timedelta("1 day"), "x", Timedelta("3 day")], dtype=object) tm.assert_index_equal(idx.fillna("x"), exp)