ValueError: Parameter grid for parameter (subsample) needs to be a list or numpy array, but got (<class 'scipy.stats._distn_infrastructure.rv_frozen'>). Single values need to be wrapped in a list with one element. code example
Example: ValueError: Parameter values for parameter (splitter) need to be a sequence(but not a string) or np.ndarray. site:stackoverflow.com
'splitter':['best'] # not 'splitter':'best'