In the creating csv fille and the cleaning data

there was slicing operator near the line
for row in tables_rows , why is the [:-1] required there

Hey @sankalparora5, actually we want to skip the last row, that is the reason we used slicing in it bcz last row was this, which is not needed

Happy Learning
Plz mark the doubt as resolved :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.