fix income comparison error (#4029)

This commit is contained in:
teh_coderer
2023-01-23 19:20:04 -06:00
committed by GitHub
parent 686d89ff21
commit 5cac9b6743

View File

@@ -1350,12 +1350,13 @@
" + scorr_similar\n",
" ]\n",
")\n",
"htmlcode += widgets.row(\n",
" [\n",
" widgets.h(3, f\"Income data for similar companies to {symbol}\")\n",
" + income_comparison.to_html()\n",
" ]\n",
")\n",
"if isinstance(income_comparison, pd.DataFrame):\n",
" htmlcode += widgets.row(\n",
" [\n",
" widgets.h(3, f\"Income data for similar companies to {symbol}\")\n",
" + income_comparison.to_html()\n",
" ]\n",
" )\n",
"htmlcode += widgets.row(\n",
" [\n",
" widgets.p(\n",