Skip to content

Commit

Permalink
Fix pandas warning (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnoczyns-volue authored Apr 22, 2024
1 parent 8dda933 commit 1154303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/volue/mesh/tests/test_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _write_timeseries_points(
number_of_points: int,
):
"""Writes random values to specific time series and interval."""
timestamps = pd.date_range(start_interval, periods=number_of_points, freq="1H")
timestamps = pd.date_range(start_interval, periods=number_of_points, freq="1h")
flags = [Timeseries.PointFlags.OK.value] * number_of_points
values = []
for _ in range(number_of_points):
Expand Down
2 changes: 1 addition & 1 deletion src/volue/mesh/tests/test_timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_test_time_series_pyarrow_table(
# flags - [pa.uint32]
# value - [pa.float64]
utc_times = pd.date_range(
first_point_timestamp, last_point_timestamp, freq="1H"
first_point_timestamp, last_point_timestamp, freq="1h"
).tolist()
flags = [Timeseries.PointFlags.OK.value] * len(utc_times)
points = list(range(10, 10 + 2 * len(utc_times), 2))
Expand Down

0 comments on commit 1154303

Please sign in to comment.