class_docstr: Class for managing database.
class_docstr_tok: ["Class","for","managing","database","."]
docstr: Rename experiment given id and new name
  
  Args:
      id: experiment id
      new_name: new name
docstr_tok: ["Rename","experiment","given","id","and","new","name","Args",":","id",":","experiment","id","new_name",":","new","name"]
code: def rename_experiment(
      self, id: int, new_name: str, new_path: str
  ) -> None:
      """Rename experiment given id and new name
  
      Args:
          id: experiment id
          new_name: new name
      """
  
      experiment = self.get_experiment(id)
      experiment.name = new_name
      experiment.path = new_path
      self._session.commit()
  
imports: import pandas
  from pandas.core.frame import DataFrame
  from sqlalchemy import Column, Integer, String, create_engine
  from sqlalchemy.ext.declarative import DeclarativeMeta, declarative_base
  from sqlalchemy.orm import Session
label_desc: Use image node_id 10 for calling the Database obj's underlying member method code with example usage: obj.rename_experiment(id, new_name, new_path) without return types