aboutsummaryrefslogtreecommitdiffstats
path: root/python/margin_estimates.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/margin_estimates.py')
-rw-r--r--python/margin_estimates.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/margin_estimates.py b/python/margin_estimates.py
index 64831bbc..76972138 100644
--- a/python/margin_estimates.py
+++ b/python/margin_estimates.py
@@ -18,8 +18,8 @@ def html_generator(df, column_name):
df.style.format(formatter=formatters, thousands=",")
.set_table_attributes('border="1"')
.applymap(lambda x: "text-align: right;", subset=[column_name])
- .hide_index()
- .render()
+ .hide(axis="index")
+ .to_html()
)