scicloj / tablecloth.time

Tools for the processing and manipulation of time-series data in Clojure.
Other
18 stars 1 forks source link

Add support for open-ended slice syntax #24

Open ezmiller opened 3 years ago

ezmiller commented 3 years ago

Python let's you do:

[:5]
[5:]
[:]

We should support this on our slice method. We may need keywords, i.e. something like (slice ds :from-start 5). In any case, this is the question as well. What will our syntax look like?