- Dataset.num_blocks() int [source]#
Return the number of blocks of this dataset.
Note that during read and transform operations, the number of blocks may be dynamically adjusted to respect memory limits, increasing the number of blocks at runtime.
Time complexity: O(1)
The number of blocks of this dataset.