mesh_kwargs#
- mesh_kwargs(**kwargs)[source]#
Create a dataframe with all parameter combinations.
- Parameters:
**kwargs – Parameter names and the list of values each of them takes.
- Returns:
pandas.DataFrame– One row per combination of the input values, one column per parameter.
Notes
The combinations follow the
numpy.meshgriddefault (indexing="xy") ordering: for three parametersa, b, c,bvaries the slowest, thena, andcthe fastest.Examples
>>> mesh_kwargs(scale=[0.02, 0.05], sigma=[0.03, 0.06]) scale sigma 0 0.02 0.03 1 0.05 0.03 2 0.02 0.06 3 0.05 0.06