Data Cleaning With Python, Data Analysis, Dataframes Python, Marketing Analytics.
through this particular analysis. We filter out the wrong values using following code : import pandas as pd # Output Movies with rating > 5 movies[movies['avg_rating'] > 5] Next, we Drop values using filtering movies = movies[movies['avg_rating'] <= 5] # Drop values using .drop()