# maxframe.dataframe.DataFrame.mf.reshuffle

#### DataFrame.mf.reshuffle(group_by: [List](https://docs.python.org/3/library/typing.html#typing.List)[[Any](https://docs.python.org/3/library/typing.html#typing.Any)] | [None](https://docs.python.org/3/library/constants.html#None) = None, sort_by: [List](https://docs.python.org/3/library/typing.html#typing.List)[[Any](https://docs.python.org/3/library/typing.html#typing.Any)] | [None](https://docs.python.org/3/library/constants.html#None) = None, ascending: [bool](https://docs.python.org/3/library/functions.html#bool) = True, ignore_index: [bool](https://docs.python.org/3/library/functions.html#bool) = False)

Shuffle data in DataFrame or Series to make data distribution more
randomized.

* **Parameters:**
  * **group_by** (*Optional* *[**List* *[**Any* *]* *]*) – Determine columns to group data while shuffling.
  * **sort_by** (*Optional* *[**List* *[**Any* *]* *]*)
  * **ascending**
  * **ignore_index**
