mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 05:21:48 +00:00
These suites turn warnings into errors, and pandas 3.1.0 adds Pandas4Warning deprecations for several patterns they use. Every change also passes with the locked pandas 3.0.6. - fred, sec: replace inplace=True sort_values/reset_index/rename/ set_index/drop with reassignment - fred balance_of_payments, sec as_filed_widget: replace fillna with a string on float columns by astype(object).where(notna, ...) - sec: build quarter start dates from ISO strings instead of parsing "2024Q2"-style strings; use the DataFrame constructor instead of DataFrame.from_records for column dicts; pad CIK lookup rows to two fields instead of constructing a ragged DataFrame - eia: read EIA workbooks with the calamine engine (xlrd is deprecated); replace the xlrd dependency with python-calamine and relock; calamine workbooks are not safe for concurrent reads, so the petroleum status report serializes its sheet reads with a lock