pandas.MultiIndex.from_product
- classmethod MultiIndex.from_product(iterables, sortorder=None, names=<no_default>)
Make a MultiIndex from the cartesian product of multiple iterables.
- Parameters:
- iterables : list / sequence of iterables
Each iterable has unique labels for each level of the index.
- sortorder : int or None