Skip to content

TST: Added test for query method with string dtype and null values (#… #53130

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

juliosanz
Copy link

@juliosanz juliosanz commented May 7, 2023

…31516)

[None, None, None],
],
)
def test_query_string_null_elements(self, in_list: list):
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
def test_query_string_null_elements(self, in_list: list):
def test_query_string_null_elements(self, in_list):

engine = "python"
expected = {
i: value
for value, i in zip(in_list, range(len(in_list)))
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
for value, i in zip(in_list, range(len(in_list)))
for i, value in enumerate(in_list)

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label May 8, 2023
@mroeschke
Copy link
Member

Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen.

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

Successfully merging this pull request may close these issues.

query works for string data type columns with missing values but not for boolean indexing
2 participants