Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: mlflow-automation <mlflow-automation@users.noreply.github.com>
  • Loading branch information
mlflow-automation committed Jan 25, 2024
1 parent a3dea8c commit c880996
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mlflow/recipes/cards/__init__.py
Expand Up @@ -237,9 +237,10 @@ def render_table(table, columns=None, hide_index=True):
in the output HTML table.
:param hide_index: Hide index column when rendering.
"""
import html

Check failure on line 240 in mlflow/recipes/cards/__init__.py

View workflow job for this annotation

GitHub Actions / lint

W0007: Import built-in module(s) (html) at the top of the file. (lazy-builtin-import)

import pandas as pd
from pandas.io.formats.style import Styler
import html

if not isinstance(table, Styler):
table = pd.DataFrame(table, columns=columns)
Expand Down

0 comments on commit c880996

Please sign in to comment.