Skip to content

Commit aef2a8e

Browse files
committed
Save changes
1 parent 636c1fb commit aef2a8e

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

src/ezmiller/relaunching_tablecloth_time.clj

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222

2323
;; I recently relaunched an old Scicloj project called [tablecloth.time](https://github.com/scicloj/tablecloth.time). The goal of this project was to build a composable
2424
;; extension for time series analysis built on top of
25-
;; [tablecloth](https://scicloj.github.io/tablecloth/). Throughout this post,
26-
;; `tct` refers to `tablecloth.time.api` and `tc` refers to `tablecloth.api`.
27-
;; Originally, we
25+
;; [tablecloth](https://scicloj.github.io/tablecloth/). Originally, we
2826
;; had built this project around a dataset index mechanism that was
2927
;; built into tech.ml.dataset, but after that feature was removed in
3028
;; v7, the project required a rethink. This post walks through that
@@ -33,9 +31,9 @@
3331

3432
;; ## Why No Index?
3533
;;
36-
;; The original tablecloth.time was built around an index two reasons:
37-
;; performance (tree-based indexes offer O(log n) lookups) and
38-
;; convenience
34+
;; The original tablecloth.time was built around an index for two
35+
;; reasons: performance (tree-based indexes offer O(log n) lookups)
36+
;; and convenience
3937
;; (you don't have to keep specifying which column is the time
4038
;; column). Anyone who has used the Python Pandas data processing
4139
;; library is likely familiar with this feature.
@@ -64,12 +62,12 @@
6462
;; [Composability Over Abstraction](https://humanscodes.com/tablecloth-time-relaunch)
6563
;; on humanscodes.
6664

67-
;; Now let's dig into this library's primitivs and basic functionality.
65+
;; Now let's dig into this library's primitives and basic functionality.
6866

6967
;; ## Loading the Data
7068
;;
7169
;; We'll use the `vic_elec` dataset: half-hourly electricity demand from Victoria,
72-
;; Australia, spanning 2012-2014. Let's load it and take a look.
70+
;; Australia, spanning 2012-2014. Let's load it and take a look. Throughout these examples the tablecloth library is aliased as `tc`, following the common conventio, and tablecloth.time is aliased as `tct`.
7371

7472
(def vic-elec
7573
(-> (tc/dataset "https://gist.githubusercontent.com/ezmiller/6edf3e0f41848f532436c15bc94c2f4d/raw/vic_elec.csv"

0 commit comments

Comments
 (0)