code: def remove(self, class_name, name):
          
  
          if class_name not in self.components:
              logger.error("Component class {} not found".format(class_name))
              return None
  
          cls_df = self.df(class_name)
  
          cls_df.drop(name, inplace=True)
  
          pnl = self.pnl(class_name)
  
          for df in itervalues(pnl):
              if name in df:
                  df.drop(name, axis=1, inplace=True)
docs: Removes a single component from the network.
  
          Removes it from component DataFrames.
  
          Parameters
          ----------
          class_name : string
              Component class name
          name : string
              Component name
  
          Examples
          --------
          >>> network.remove("Line","my_line 12345")