Answer:
In order to remove the blank rows in the table and avoid deleting every single row, it would be reasonable to use the "Renumber" tool:
- Select all corresponding objects, such as lines, nodes, surfaces, by using the Views navigator, if necessary.
- Use the "Renumber" tool → "Automatically"