pandas-dev / pandas

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
https://pandas.pydata.org
BSD 3-Clause "New" or "Revised" License
42.62k stars 17.57k forks source link

REF: Move methods in core/reshape/util.py to where they are used #59172

Open mroeschke opened 2 days ago

mroeschke commented 2 days ago

2 unit tests were removed since cartesian_product now strictly operates on list[np.ndarray] (i.e. MultiIndex.codes) and the unit tests were testing Index inputs