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