Skip to content

Add More Error Tests #5

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

RogerThomas
Copy link
Owner

No description provided.

df.nsmallest(1, 'b')
with pytest.raises(TypeError):
df.nlargest(1, 'b')
df = pd.DataFrame(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create this as another fixture (e.g. like df_strings*, but name something different) and use parametrize

@RogerThomas
Copy link
Owner Author

@jreback nearly there?

@jreback
Copy link

jreback commented Apr 5, 2017

@RogerThomas much easier if you just push more commits to the main PR. Then the review and comments are all here.

@RogerThomas RogerThomas merged commit 3840771 into fix_nsmallest_nlargest_with_n_identical_values Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants