Skip to content

Commit

Permalink
fix: get_change_df_over_time uses an inclusive range (#4365) (#4366)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaten authored Feb 6, 2025
1 parent 526cb84 commit e2653f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion analytics/analytics_package/analytics/sheets_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def get_change_over_time_df(
metrics,
time_dimension,
sort_results=[time_dimension],
df_processor=(lambda df: df.set_index(df.index + "01")[-2::-1]),
df_processor=(lambda df: df.set_index(df.index + "01").sort_index(ascending=False)),
format_table=False,
**other_params
)
Expand Down
2 changes: 1 addition & 1 deletion analytics/analytics_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="analytics",
version="3.4.0",
version="3.4.1",
packages=["analytics"],
install_requires=["matplotlib", "pandas", "numpy", "google-auth-oauthlib", "google-api-python-client", "gspread", "gspread-formatting"],
)

0 comments on commit e2653f5

Please sign in to comment.