s="tparams">[<span name="T">T</span>]</span><span class="params">(<span name="dataset">dataset: <a href="../../../../../scala/index.html#TraversableOnce[+A]=scala.collection.TraversableOnce[A]" class="extmbr" name="scala.TraversableOnce">TraversableOnce</a>[<span class="extype" name="com.johnsnowlabs.nlp.annotators.common.DatasetHelpers.doSlice.T">T</span>]</span>, <span name="getLen">getLen: (<span class="extype" name="com.johnsnowlabs.nlp.annotators.common.DatasetHelpers.doSlice.T">T</span>) ⇒ <span cla