I have a dataframe (df), and want to create one factor with the name CATEGORIA, from column (review_scores_rating), like this:
if review_scores_rating<=49 change to (NO ACONSEJABLE)
if 50<=review_scores_rating <=75 change to (ESTANDAR)
if 76<=review_scores_rating <=100 change to (TOP)