diff --git a/popcorn.py b/popcorn.py index de6199d..6f11f4f 100644 --- a/popcorn.py +++ b/popcorn.py @@ -13,6 +13,8 @@ with app.setup: import marimo as mo import polars as pl + LIMIT_ROWS = 200 + @app.cell(hide_code=True) def _(): @@ -111,7 +113,7 @@ def _(): def _(): df = ( pl.scan_ndjson("data/daily/*", include_file_paths="file") - .head(200) # FIXME: take out after debug + .head(LIMIT_ROWS) # FIXME: take out after debug .with_columns( pl.col("file") .str.replace(r"data/daily/(\d{4}-\d{2}-\d{2}).json", "${1}")