bootstrap method
A bootstrap sample from this column.
Implementation
@override
CategoricColumn bootstrap({int? seed}) {
final rand = math.Random(seed);
return CategoricColumn(
[for (var _ = 0; _ < length; _++) this[rand.nextInt(length)]])
..resetCategories(_categories);
}