number of partitions specified, if equals to None, then each entry goes into its own partition
Return appropriate number of partitions for mode
Return appropriate number of partitions for mode
Standard slice function to partition sequence
Standard slice function to partition sequence
Try partitioning sequence of metadata depending on mode
Try partitioning sequence of metadata depending on mode
DefaultPartitionMode either returns provided number of partitions or maximum slices whichever is larger.
number of partitions specified, if equals to None, then each entry goes into its own partition