code: def _del_cable_from_equipment_changes(network, line):
      
      if line in network.results.equipment_changes.index:
          network.results.equipment_changes = \
              network.results.equipment_changes.drop(line)
docs: Delete cable from the equipment changes if existing
  
      This is needed if a cable was already added to network.results.equipment_changes
      but another node is connected later to this cable. Therefore, the cable needs to
      be split which changes the id (one cable id -> 2 new cable ids).
  
      Parameters
      ----------
      network : :class:`~.grid.network.Network`
          The eDisGo container object
      line : class:`~.grid.components.Line`
          Line instance which is to be deleted