-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
dataframedocumentationImprove or add to documentationImprove or add to documentationgood first issueClearly described and easy to accomplish. Good for beginners to the project.Clearly described and easy to accomplish. Good for beginners to the project.
Description
Talking to a user recently, they were confused about how to pass divisions= in set_index. Specifically, they missed that the list had to have N+1 elements in it, and the N+1th element was the upper bound for the last partition.
The API docs currently link to https://docs.dask.org/en/latest/dataframe-design.html#partitions, which does describe this in words, but takes some close reading to get.
A simple example of setting divisions using a list of values, both in the set_index docs and in the dataframe design section, might be helpful.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dataframedocumentationImprove or add to documentationImprove or add to documentationgood first issueClearly described and easy to accomplish. Good for beginners to the project.Clearly described and easy to accomplish. Good for beginners to the project.