scikit-learn/scikit-learn — pull request #3696 by wlamond (2014-09-24 03:42:27+00:00)
Title: Fix shuffle for arrays with ndim > 2: added a allow_nd as an acceptable parameter to resample.

Fixes https://github.com/scikit-learn/scikit-learn/issues/3694 by adding allow_nd as a parameter to resample and shuffle, allowing shuffle and resample to work on arrays with ndim > 2.