Open
Description
Describe the bug
MultiIndex.from_product()
should accept Index
or Series
as arguments
To Reproduce
import pandas as pd
mi = pd.MultiIndex.from_product([["x", "y"], df.columns])
mi = pd.MultiIndex.from_product([["x", "y"], pd.Series([1, 2])])
Both of the above don't get past pyright.
Please complete the following information:
- OS: Windows 11
- python version: 3.10
- pyright 1.1.400
- in the dev copy