Here are the examples of the python api pytest.mark.ts taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
3
View Complete Implementation : test_ts.py
Copyright MIT License
Author : rafpyprog
Copyright MIT License
Author : rafpyprog
@pytest.mark.ts
def test_ts_with_null_values():
# Issue #28
ts = time_serie(21554, start="31/12/1992", end="01/06/2019")
data = ts.loc['1994-04-01']
astert np.isnan(data) == True
0
View Complete Implementation : test_ts.py
Copyright MIT License
Author : rafpyprog
Copyright MIT License
Author : rafpyprog
@pytest.mark.ts
def test_time_serie():
ts = time_serie(4, "02/01/2018", "31/01/2018")
astert len(ts) == 20
astert ts.dtype == np.float