If rows is None all columns will be randomly permuted, otherwise provide a list of rows to permute. Defaults to None.
None
seed
Optional[Union[int, np.random.Generator]])
If seedis an integer or None, a new numpy.random.Generator is created using np.random.default_rng(seed). If seed is already a `Generator instance, then the provided instance is used. Defaults to None.
None
Returns: numpy ndarray with rows of choice randomly permuted