-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: makeMultiIndex not respecting k parameter #43275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ShreyasPatel031
commented
Aug 28, 2021
•
edited
Loading
edited
- closes BUG: pd.testing.makeMultiIndex ignores k parameter #38795
- tests added / passed
- Ensure all linting tests pass, see here for how to run them
- whatsnew entry
Hello @ShreyasPatel031! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-08-28 18:19:23 UTC |
return MultiIndex.from_product( | ||
(rands_array(nchars=10, size=k), | ||
randu_array(nchars=10, size=k)), | ||
names=names, **kwargs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to test this efficiently to avoid future issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should add a test in tests.util
This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. |
Appears this PR has been dormant for a while and needs updates so closing. If interested in continuing, please merge master, address related comments and we can reopen. |