def get_current_undervalued_large_cap_stocks() -> pd.DataFrame:
    """Get data for today's potentially undervalued large cap stocks from Yahoo finance."""
    df = get_df("https://finance.yahoo.com/screener/predefined/undervalued_large_caps")[
        0
    ]
    df.dropna(how="all", axis=1, inplace=True)
    return df.replace(float("NaN"), "")
Get data for today's potentially undervalued large cap stocks from Yahoo finance.
llama-index-integrations/tools/llama-index-tools-finance/llama_index/tools/finance/news.py