My sample dataset. My original dataset contains 40,000 rows and 4 columns.
I want to extract rows where all sentiment columns are the same (either all positive like Document 2, 5, and 6 or all negative like Document 3).
How can I do this by using python?
Thank you for your suggestions and advice.
