Data Cleaning With Python, Data Analysis, Dataframes Python, Marketing Analytics.
find the row which has this inconsistent value : # Get and print rows with inconsistent categories inconsistent_rows = study_data['blood_type'].isin(inconsistent_categories) study_data[inconsistent_rows] To drop inconsistent rows and keep ones that are only consistent. We just use the tilde symbol