Skip to content

Commit 9a2e120

Browse files
committed
fix: deprecation warning in __init__
1 parent 23c7eaf commit 9a2e120

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/ydata_profiling/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@
2525

2626
warnings.simplefilter("ignore", category=NumbaDeprecationWarning)
2727

28+
warn(
29+
"""
30+
`import ydata_profiling` is deprecated and will not receive more updates.
31+
Please install data-profiling via `pip install data-profiling` and use `import data_profiling` instead.
32+
""",
33+
DeprecationWarning,
34+
stacklevel=2,
35+
)
36+
2837
__all__ = [
2938
"pandas_decorator",
3039
"ProfileReport",

0 commit comments

Comments
 (0)