The tape's formulas on Sheet1 are a ROWS, an AVERAGEIFS, the last day and a MEDIAN of ten million amounts, typed quickly so the GIF stays under 1 MB.
- commit
- f4d438dc2cd7a8d8b2976f44ebe5abb834d08ad1
- parent
- 92d47e3919d2e7825ae5cf62866acc784c439761
- author
- Dami <dami.etoile@gmail.com>
- kind
- docs risk score 0.7 of 3, Jev's estimate
| M | demos/ | 24 | ++++++++++++++++++++---- |
| M | docs/ | 2 | +- |
| M | docs/ | bin |
@@ -1,8 +1,9 @@
11 # Linked sources: ten million rows of Parquet (made by gensales) linked22 # as a source (Data > Linked file > Link a source, here from the33 # palette), sorted by amount Z to A in the background, its rows4-# numbered past the grid's last, and read whole by a SUMIFS on5-# Sheet1.4+# numbered past the grid's last, and read whole by formulas on Sheet1:5+# a count grouped, an AVERAGEIFS, the last day as a date, and a MEDIAN of6+# every amount, sorted on disk in the background.67 Output out/sources.gif78 Source lib/setup.tape89 @@ -39,10 +40,25 @@ Type@80ms "previous sheet"
3940 Sleep 400ms4041 Enter4142 Sleep 400ms42-Type "North"43+Type@8ms "Rows"4344 Tab44-Type@40ms `=SUMIFS(sales[amount],sales[cat],"north")`45+Type@8ms "=ROWS(sales)"4546 Enter47+Type@8ms "North"48+Tab49+Type@8ms `=AVERAGEIFS(sales[amount],sales[cat],"north")`50+Enter51+Type@8ms "Last day"52+Tab53+Type@8ms "=MAX(sales[day])"54+Enter55+Type@8ms "Median"56+Tab57+Type@8ms "=MEDIAN(sales[amount])"58+Enter59+Up60+Right61+Wait+Screen@60s /Median +[0-9]/4662 Sleep 1.5s4763 Screenshot out/stills/sources-formulas.png4864 Sleep 1s@@ -17,7 +17,7 @@ source of ten million rows opens at once and takes a few MB.
1717 1818 ## Linking a source1919 20-20+2121 2222 **Data > Linked file > Link a source** lists the Parquet files and2323 SQLite databases in the folder, or takes a path. For a database aBinary file.