The root cause of the issue was that the implementation of ParamStore's list_values() method was converting nanosecond precision timestamp to Python datetimes. As Python's datetime has lower precision that the timestamps, a warning was raised indicating the loss of precision.
This PR makes a small, albeit breaking, change to list_values(): It now returns pd.datetime values, therey by preserving the original precision of the timestamps and avoiding the warning.
This PR resolves issue https://github.com/entropy-lab/entropy/issues/160.
The root cause of the issue was that the implementation of ParamStore's
list_values()
method was converting nanosecond precision timestamp to Pythondatetimes
. As Python'sdatetime
has lower precision that the timestamps, a warning was raised indicating the loss of precision.This PR makes a small, albeit breaking, change to
list_values()
: It now returnspd.datetime
values, therey by preserving the original precision of the timestamps and avoiding the warning.