def test_std(): ts = ArrayTimeSeries([1, 2], [3, 4]) assert ts.std() == sqrt(0.25)
def test_std(): ts = ArrayTimeSeries([0, 1, 2], [3, 4, 5]) assert ts.std() == np.std([3, 4, 5])