You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
analysts=si.get_analysts_info("AAPL")
print(analysts)
'''output{0: 0 10 Date NaN1 Close NaN2 Open NaN3 High NaN4 Low NaN5 Volume NaN}'''
When I run get_analysts_info, it outputs the above and I cannot get the analyst value, is this my problem?
In the meantime, I have modified the following as a warning occurred.
Warning: FutureWarning: Passing literal html to 'read_html' is deprecated and will be removed in a future version. To read from a literal string, wrap it in a 'StringIO' object.
Modified Code
# yahoo_fin/stock_info.py line 563tables=pd.read_html(StringIO(requests.get(analysts_site, headers=headers).text))
The text was updated successfully, but these errors were encountered:
When I run get_analysts_info, it outputs the above and I cannot get the analyst value, is this my problem?
In the meantime, I have modified the following as a warning occurred.
Warning:
FutureWarning: Passing literal html to 'read_html' is deprecated and will be removed in a future version. To read from a literal string, wrap it in a 'StringIO' object.
Modified Code
The text was updated successfully, but these errors were encountered: