Let say I have this dataframe.
+-----------------+-----------+
| COMMENT | SENTIMENT |
+-----------------+-----------+
| Good app | Positive |
| Bad app | Negative |
| Useless feature | Negative |
| I like this app | Positive |
+-----------------+-----------+
I want to split it based on the SENTIMENT column. Like this below.
+-----------------+-----------+
| COMMENT | SENTIMENT |
+-----------------+-----------+
| Good app | Positive |
| I like this app | Positive |
+-----------------+-----------+
+-----------------+-----------+
| COMMENT | SENTIMENT |
+-----------------+-----------+
| Bad app | Negative |
| Useless feature | Negative |
+-----------------+-----------+
Anyone knows the solution in Python (Jupyter) for that case? Your help will help my thesis project. Thank you :D