When calling si.get_analysts_info("AAPL"), the function uses pd.read_html on the Yahoo Finance page, but the tables are no longer present in the static HTML, causing a ValueError: No tables found. It would be desirable for the library to handle this case (e.g., by parsing the JSON embedded in the page’s scripts), or at least to raise a more informative message indicating that the page structure has changed.
When calling si.get_analysts_info("AAPL"), the function uses pd.read_html on the Yahoo Finance page, but the tables are no longer present in the static HTML, causing a ValueError: No tables found. It would be desirable for the library to handle this case (e.g., by parsing the JSON embedded in the page’s scripts), or at least to raise a more informative message indicating that the page structure has changed.