Closed
Description
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pandas.
-
(optional) I have confirmed this bug exists on the master branch of pandas.
Code Sample, a copy-pastable example
assert len(pd.testing.makeMultiIndex(k=10)) == 4
pandas/pandas/_testing/__init__.py
Lines 491 to 492 in 0976c4c
Problem description
All other testing.make*Index
methods take a parameter k
which lets you specify the length. makeMultiIndex
explicitly takes this parameter but does nothing with it.
Expected Output
assert len(pd.testing.makeMultiIndex(k=10)) == 10