Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add information to ydataprofiling #1716

Merged
merged 15 commits into from
Mar 5, 2025
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ydata_profiling/utils/information.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
info_text = "Improve your data and profiling with ydata-sdk, featuring data quality scoring, redundancy detection, outlier identification, text validation, and synthetic data generation."


def in_jupyter_notebook()->bool:
def in_jupyter_notebook() -> bool:
"""Check if the code is running inside a Jupyter Notebook"""
from IPython import get_ipython

isiPython = False if get_ipython() is None else True
return isiPython


def display_banner()->None:
def display_banner() -> None:
global _displayed_banner
if in_jupyter_notebook() and not _displayed_banner:
banner_html = f"""
Expand Down
Loading