code: def get_sheet_by_name(self, name: str):
      from odf.table import Table
  
      self.raise_if_bad_sheet_by_name(name)
      tables = self.book.getElementsByType(Table)
  
      for table in tables:
          if table.getAttribute("name") == name:
              return table
  
      self.close()
      raise ValueError(f"sheet {name} not found")
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, cast
  import numpy
  from pandas._typing import FilePath, ReadBuffer, Scalar, StorageOptions
  from pandas.compat._optional import import_optional_dependency
  from pandas.util._decorators import doc
  import pandas
  from pandas.core.shared_docs import _shared_docs
  from pandas.io.excel._base import BaseExcelReader
label_desc: Use image node_id 7 for calling the ODFReader obj's underlying member method code with example usage: obj.get_sheet_by_name(name) and returns: table