How do I aggregate rows with similar strings values as new rows in a pandas DataFrame?

Below is a DataFrame I created using Pandas… ╔════════════════════════╦══════════╗ ║ Column A ║ Column B ║ ╠════════════════════════╬══════════╣ ║ / ║ 5.34 ║ ║ new-shirts ║ 6.78 ║ ║ new-pants ║ 10.11 ║ ║ used-hats ║ 1.56 ║ ║ used-shirts ║ 3.78 ║ ║ brand-new-watches/gold ║ 4.21 ║ ║ customer-service ║ 0.29 ║ ║ holiday-blowout-sale ║…

Details