Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xoolive committed Sep 26, 2024
1 parent 86c24b8 commit 0cfd2e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/traffic/core/flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -2792,7 +2792,8 @@ def fail_silent() -> Flight:
return failure()

timestamped_df = df.sort_values("mintime").assign(
timestamp=lambda df: df.mintime.dt.round("s")
# here the mintime is actually a float
timestamp=lambda df: pd.to_datetime(df.mintime, unit="s", utc=True)
)

referenced_df = (
Expand Down

0 comments on commit 0cfd2e5

Please sign in to comment.