Skip to content

Commit

Permalink
198 pyopiastatisticsmake timeseries vd makes dataframe with times ups…
Browse files Browse the repository at this point in the history
…ide down oldest first newest last (#206)

* change ascending to True in sorting of timeseries from statistics.make_timeseries_vd
  • Loading branch information
emlynjdavies authored Aug 26, 2024
1 parent 7d586cb commit a3ec16c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyopia/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.12'
__version__ = '1.1.13'
2 changes: 1 addition & 1 deletion pyopia/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ def make_timeseries_vd(stats, pixel_size, path_length):
time_series['D50'] = d50
time_series['Time'] = pd.to_datetime(timestamp)

time_series.sort_values(by='Time', inplace=True, ascending=False)
time_series.sort_values(by='Time', inplace=True, ascending=True)

return time_series

Expand Down

0 comments on commit a3ec16c

Please sign in to comment.