code: def rename_table(dbconn, original, new):
      
      cur = dbconn.cursor()
      cur.execute("ALTER TABLE '{original}' RENAME TO '{new}'".format(original=original, new=new))
docs: Rename a table in the database
      :param dbconn: database connection
      :param original: original table name
      :param new: new table name