# Products ending with “top” (e.g., Laptop). df_sales[df_sales[“Product”].str.endswith(“top”)]