Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly set pandas dtype to reduce memory usage and fix warning #11145

Merged
merged 2 commits into from
Apr 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove extra line
  • Loading branch information
NickM-27 committed Apr 29, 2024
commit fd9a5c8c9dff8eb9b2b8be4bdb5a9527f3ba8237
1 change: 0 additions & 1 deletion frigate/api/review.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,6 @@ def audio_activity():
df = pd.DataFrame(data, columns=["start_time", "audio"])
df = df.astype(dtype={"audio": "float16"})


# set date as datetime index
df["start_time"] = pd.to_datetime(df["start_time"], unit="s")
df.set_index(["start_time"], inplace=True)
Expand Down
Loading