def get_income_stmt(symbol: Annotated[str, "ticker symbol"]) -> DataFrame:
        """Fetches and returns the latest income statement of the company as a DataFrame."""
        ticker = symbol
        income_stmt = ticker.financials
        return income_stmt
Fetches and returns the latest income statement of the company as a DataFrame.
tradingagents/dataflows/yfin_utils.py