Slow deletion loop on huge DataFrame

Try calculating all the indices you want to delete and do the deletion in one call.