Filtering strings in Pandas dataframes

Medium

Given the following dataframe, write code using Python (Pandas) to return the rows that contain the string 'J' in the name column (to practice searching string contains).

Next, write code to return all rows where favorite_color does not contain the string 'r'....

Sign in to InterviewQs to view this question

Or

New to InterviewQs? Sign up now.

By proceeding, you agree to our Terms and Conditions and Privacy Policy.

Loading editor...