Remove space from lastrow in a datatble

Anyone could you please help on this

We are having a CSV and last two rows are having spaces.
when I read csv it is storing in a datatable ,
Last two rows of a datatable are also getting with spaces.
Anyone could help in removing the rows that contains space in the datatable

Hello @Vasavi,
Welcome to the Community!
If you are keeping data in DataTable you can refer to particular indexes in the rows and use some text operations on them like in this example: