@staticmethod
def from_excel(path, worksheet=0):
    """Return a reader object which will iterate over lines in the
        given Excel worksheet. *path* must specify to an XLSX or XLS
        file and *worksheet* should specify the index or name of the
        worksheet to load (defaults to the first worksheet).

        Load first worksheet::

            reader = get_reader.from_excel('mydata.xlsx')

        Specific worksheets can be loaded by name (a string) or
        index (an integer)::

            reader = get_reader.from_excel('mydata.xlsx', 'Sheet 2')

        .. note::

            This constructor requires the optional, third-party
            library xlrd.
        """
    try:
        import xlrd
    except ImportError:
        raise ImportError(
            """No module named 'xlrd'

This is an optional constructor that requires the third-party library 'xlrd'."""
            )
    book = xlrd.open_workbook(path, on_demand=True)
    try:
        if isinstance(worksheet, int):
            sheet = book.sheet_by_index(worksheet)
        else:
            sheet = book.sheet_by_name(worksheet)
        for index in range(sheet.nrows):
            yield sheet.row_values(index)
    finally:
        book.release_resources()
