tech.ml.dataset icon indicating copy to clipboard operation
tech.ml.dataset copied to clipboard

Do `partition` and `partition-by` make any sense here in TMD?

Open harold opened this issue 1 year ago • 1 comments

Partition, I guess, would turn a dataset into a sequence of datasets - with the similar semantics and arguments to clojure.core/partition

partition-by is a little less clear to me, perhaps the function would get passed the map-like rows, and then split when that function starts returning a different value?

harold avatar Oct 12 '23 20:10 harold

I think it's a good idea! It was discussed in the past, take a look at this topic:

https://clojurians.zulipchat.com/#narrow/stream/236259-tech.2Eml.2Edataset.2Edev/topic/partition-by.20at.20tablecloth

and following issue in TC

https://github.com/scicloj/tablecloth/issues/30

genmeblog avatar Oct 16 '23 08:10 genmeblog