Skip to content

Commit 30ebc3a

Browse files
authored
Merge pull request #369 from legendu-net/dev
Merge dev into main
2 parents ce0b357 + 690f74d commit 30ebc3a

File tree

3 files changed

+4
-23
lines changed

3 files changed

+4
-23
lines changed

aiutil/dataframe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from pathlib import Path
66
from loguru import logger
77
import pandas as pd
8-
from pandas_profiling import ProfileReport
8+
from ydata_profiling import ProfileReport
99

1010

1111
def table_2w(
@@ -52,7 +52,7 @@ def read_csv(path: Union[str, Path], **kwargs) -> pd.DataFrame:
5252
def dump_profile(
5353
df: Union[pd.DataFrame, str, Path], title: str, output_dir: Union[str, Path]
5454
):
55-
"""Run pandas profiling on a DataFrame and dump the report into files.
55+
"""Run ydata-profiling on a DataFrame and dump the report into files.
5656
5757
:param df: A pandas DataFrame.
5858
:param title: The title of the generated report.

poetry.lock

Lines changed: 1 addition & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pathspec = ">=0.8.1"
2323
dateparser = ">=0.7.1"
2424
numba = ">=0.53.0rc1.post1"
2525
pandas = ">=1.2.0"
26-
pandas-profiling = ">=2.9.0"
26+
ydata-profiling = ">=4.2.0"
2727
loguru = ">=0.3.2"
2828
toml = ">=0.10.0"
2929
GitPython = ">=3.0.0"

0 commit comments

Comments
 (0)