mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Fix dd warnings debug output (#538)
This commit is contained in:
@@ -328,16 +328,16 @@ def sean_seah_warnings(other_args: List[str], ticker: str):
|
||||
print("5x Net Income < Long-Term Debt")
|
||||
n_warnings += 1
|
||||
if ns_parser.b_debug:
|
||||
sa_net_income = np.array2string(
|
||||
df_sean_seah.loc["Net Income"].values,
|
||||
sa_5_net_income = np.array2string(
|
||||
5 * df_sean_seah.loc["Net Income"].values,
|
||||
formatter={"float_kind": lambda x: int_or_round_float(x)},
|
||||
)
|
||||
print(f" NET Income: {sa_net_income}")
|
||||
sa_5_long_term_debt = np.array2string(
|
||||
5 * df_sean_seah.loc["Long-Term Debt"].values,
|
||||
print(f" 5x NET Income: {sa_5_net_income}")
|
||||
sa_long_term_debt = np.array2string(
|
||||
df_sean_seah.loc["Long-Term Debt"].values,
|
||||
formatter={"float_kind": lambda x: int_or_round_float(x)},
|
||||
)
|
||||
print(f" lower than 5x Long-Term Debt: {sa_5_long_term_debt}")
|
||||
print(f" lower than Long-Term Debt: {sa_long_term_debt}")
|
||||
|
||||
if np.any(df_sean_seah.loc["Interest Coverage Ratio"].values < 3):
|
||||
print("Interest coverage ratio less than 3")
|
||||
|
||||
Reference in New Issue
Block a user