Shorten a couple of names

- rename "total_orders" columns into "n_orders"
- rename `.make_*_time_series()` methods into `.make_*_ts()`
This commit is contained in:
Alexander Hess 2021-01-31 20:19:12 +01:00
commit 7b824a4a12
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
4 changed files with 71 additions and 71 deletions

View file

@ -42,8 +42,8 @@ def horizontal_datetime_index():
@pytest.fixture
def horizontal_no_demand(horizontal_datetime_index):
"""A horizontal time series of order totals when there was no demand."""
return pd.Series(0, index=horizontal_datetime_index, name='order_totals')
"""A horizontal time series with order totals: no demand."""
return pd.Series(0, index=horizontal_datetime_index, name='n_orders')
@pytest.fixture
@ -72,5 +72,5 @@ def vertical_datetime_index():
@pytest.fixture
def vertical_no_demand(vertical_datetime_index):
"""A vertical time series of order totals when there was no demand."""
return pd.Series(0, index=vertical_datetime_index, name='order_totals')
"""A vertical time series with order totals: no demand."""
return pd.Series(0, index=vertical_datetime_index, name='n_orders')