Use new csv for unique installs

This commit is contained in:
Marty Oehme 2025-09-29 18:21:08 +02:00
parent e00217f2fe
commit 9513e6544e
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -249,10 +249,15 @@ def _(df_pkg_lazy: pl.LazyFrame):
@app.cell
def _(df_lazy: pl.LazyFrame):
df_unique_downloads = df_lazy.select(["date", "UniqueInstalls"]).collect()
def _():
(
lp.ggplot(df_unique_downloads, lp.aes("date", "UniqueInstalls"))
lp.ggplot(
pl.read_csv(
f"{DATA_CLEAN_DIR}/unique_installs.csv",
schema={"date": pl.Date, "unique": pl.UInt16},
),
lp.aes("date", "unique"),
)
+ lp.geom_line()
+ lp.geom_smooth()
+ lp.labs(