Repository navigation
v5.7.1 - Critical Bug Fix: Statement of Equity NaN Values
Critical Bug Fix Release
This release fixes a data accuracy regression introduced in v5.7.0 that caused Statement of Equity and Comprehensive Income to show mostly NaN values.
Fixed
- Statement of Equity and Comprehensive Income NaN Values (Issue #571)
- v5.7.0 regression caused these statements to show mostly NaN values
- Root cause: The
include_dimensions=Falsedefault filtered out dimensional data that these statements require - Statement of Equity and Comprehensive Income are inherently dimensional statements (tracking changes across equity components)
- Changed default for
statement_of_equity()andcomprehensive_income()toinclude_dimensions=True - Also fixed in
StitchedStatementsclass for multi-period analysis - AAPL values improved from 4/13 concepts with values (31%) to 12/27 (44%)
- Users can still explicitly set
include_dimensions=Falsefor previous behavior
Upgrade
pip install --upgrade edgartoolsVerification
from edgar import Company
company = Company("AAPL")
filing = company.get_filings(form="10-K").latest()
stmt = filing.xbrl().statements.statement_of_equity()
df = stmt.to_dataframe()
# Should now have values for concepts like:
# - StockIssuedDuringPeriodValueNewIssues
# - Dividends
# - ShareBasedCompensationThis release is highly recommended for all users working with equity statements.
Full changelog: https://github.com/dgunning/edgartools/blob/main/CHANGELOG.md