statsmodels.tsa.statespace.news.NewsResults.get_details#

NewsResults.get_details(include_revisions=True, include_updates=True)[source]#

Combine details of impacts from news and revisions into one table

Parameters:
include_revisionsbool, optional

Whether to include the details of impacts from data revisions. Default is True.

include_updatesbool, optional

Whether to include the details of impacts from news (i.e. newly observed datapoints). Default is True.

Returns:
detailspd.DataFrame

Combination of the details_by_impact and revision_details_by_impact tables, with columns renamed so that both sets of details can be concatenated together. The revision_details_by_impact columns revised, observed (prev), and revision are renamed to observed, previous, and news, respectively, and the details_by_impact column forecast (prev) is renamed to previous.