def METHOD_NAME():
    ts = zb.time_series(target, index=index, name="target", metadata={"x": 42})
    assert len(ts) == len(target)
    assert (ts == target).all()
    assert ts.tdim
    assert len(ts) == 10
    assert len(ts[:4]) == 4
    assert len(ts[-4:]) == 4
    assert ts.metadata == {"x": 42}
    assert ts.name == "target"