Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
harold opened this issue Oct 12, 2023 · 1 comment
Open

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

harold opened this issue Oct 12, 2023 · 1 comment

Comments

@harold
Copy link
Contributor

harold commented Oct 12, 2023

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?

@genmeblog
Copy link

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

scicloj/tablecloth#30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants