Skip to content

Commit

Permalink
fix: sparkline generation (#21274)
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin authored Apr 2, 2024
1 parent 811ace4 commit 140dfbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/session_recordings/ai/error_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def construct_response(df: pd.DataFrame, team: Team):
sample = rows.sample(n=1)[["session_id", "error"]].to_dict("records")[0]

date_series = (
df.groupby([df["timestamp"].dt.date])
rows.groupby([rows["timestamp"].dt.date])
.size()
.reindex(pd.date_range(end=date.today(), periods=7), fill_value=0)
)
Expand Down

0 comments on commit 140dfbc

Please sign in to comment.