mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-07 01:41:17 +00:00
[Feature] Pandas 3.0 - Update Library For Syntax (#7336)
* fix everything for pandas 3.0 * bump yfinance version * update core dependency python-multi-part * lint
This commit is contained in:
@@ -379,7 +379,7 @@ def print_rich_table( # noqa: PLR0912
|
||||
)
|
||||
|
||||
if columns_to_auto_color is None and rows_to_auto_color is None:
|
||||
df = df.applymap(lambda x: return_colored_value(str(x))) # type: ignore
|
||||
df = df.map(lambda x: return_colored_value(str(x))) # type: ignore
|
||||
|
||||
exceeds_allowed_columns = len(df.columns) > MAX_COLS
|
||||
exceeds_allowed_rows = len(df) > MAX_ROWS
|
||||
|
||||
Reference in New Issue
Block a user