Skip to content
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

Add filter for string contains case insensitive #816

Merged
merged 7 commits into from
Jul 10, 2023

Conversation

marthacryan
Copy link
Contributor

@marthacryan marthacryan commented Jul 7, 2023

Adds a string filter condition for contains w/ case insensitive.

For comparison, these are the results with contains:
image

And these are with contains case insensitive:
image

@vercel
Copy link

vercel bot commented Jul 7, 2023

@marthacryan is attempting to deploy a commit to the trymito Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@naterush naterush left a comment

Choose a reason for hiding this comment

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

Great work, it's working perfect! Hopefully you got a chance to poke around the backend a little bit as well.

A coupla tests we could add to cover our bases, and then feel free to merge into dev once tests pass (no need for another review)!

FC_STRING_CONTAINS_CASE_INSENSITIVE,
"aBc",
pd.DataFrame(data={"A": ["abcDEF", "ABCdef"]}),
),
Copy link
Contributor

Choose a reason for hiding this comment

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

Two more tests that might be nice:

  1. Combining two contains case insensitive with an And
  2. Combinion two contains case insensitive with an Or

Just so we cover all our cases here and make sure they are working properly!

@vercel
Copy link

vercel bot commented Jul 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
monorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2023 6:43pm

@marthacryan marthacryan merged commit de5decf into mito-ds:dev Jul 10, 2023
18 checks passed
@marthacryan marthacryan deleted the case-insensitive branch July 10, 2023 20:23
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