If you wanna remove rows without any logical condition then this solution can help.
Let's say you wanna keep only 1st row and remove all other rows OR you wanna keep the first 5 rows, 10 row,s etc any number of rows that you're sure of,
Using the Copy Rows action, you can pass start row and from there how many rows you wanna copy. So in the above example, it will keep only the first row and remove all others.
------------------------------
Thanks & Regards,
Tejaskumar Darji
Sr. RPA Consultant-Automation Developer
------------------------------