Skip to content

Commit

Permalink
fix dates in base_timeseries_numeric_segments_path fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii Fuglaev committed Sep 5, 2024
1 parent 000690e commit 86babfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_commands/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ def small_ts():
def base_timeseries_numeric_segments_path():
df = pd.DataFrame(
{
"timestamp": list(pd.date_range("2021-06-01", periods=120)) * 2,
"target": np.arange(240),
"timestamp": list(pd.date_range("2021-06-01", periods=100)) * 2,
"target": np.arange(200),
# segments with numeric names and leading zeros
"segment": ["01234"] * 120 + ["12345"] * 120,
"segment": ["01234"] * 100 + ["12345"] * 100,
}
)
tmp = NamedTemporaryFile("w")
Expand Down

0 comments on commit 86babfe

Please sign in to comment.