Skip to content

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

Closed

Conversation

ShreyasPatel031
Copy link

@ShreyasPatel031 ShreyasPatel031 commented Aug 28, 2021

@pep8speaks
Copy link

pep8speaks commented Aug 28, 2021

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

@simonjayhawkins simonjayhawkins added the Testing pandas testing functions or related to the test suite label Aug 29, 2021
return MultiIndex.from_product(
(rands_array(nchars=10, size=k),
randu_array(nchars=10, size=k)),
names=names, **kwargs)
Copy link
Member

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?

Copy link
Member

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

@phofl phofl changed the title Multindex fix TST: makeMultiIndex not respecting k parameter Aug 30, 2021
@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot added the Stale label Sep 30, 2021
@mroeschke
Copy link
Member

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.

@mroeschke mroeschke closed this Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: pd.testing.makeMultiIndex ignores k parameter
6 participants