Skip to content

Commit

Permalink
πŸ› Fix IPython import error (#2250)
Browse files Browse the repository at this point in the history
  • Loading branch information
Koncopd authored Dec 3, 2024
1 parent bfae4ef commit 6096eb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lamindb/_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import inspect
from typing import TYPE_CHECKING

from IPython.display import HTML, display
from lamin_utils import colors, logger
from lamindb_setup import settings
from lamindb_setup._init_instance import get_schema_module_name
Expand All @@ -24,6 +23,8 @@
def display_df_with_descriptions(
df: pd.DataFrame, descriptions: dict[str, str] | None = None
):
from IPython.display import HTML, display

if descriptions is None:
display(df)
return None
Expand Down

0 comments on commit 6096eb8

Please sign in to comment.