From af0187fdf0884146c0ddd036f20eca30bba83dd8 Mon Sep 17 00:00:00 2001 From: Fabiana Clemente Date: Tue, 7 May 2024 10:08:50 -0700 Subject: [PATCH 1/3] chore: remove version --- src/ydata_profiling/utils/common.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ydata_profiling/utils/common.py b/src/ydata_profiling/utils/common.py index 7dc217084..75ec2599c 100644 --- a/src/ydata_profiling/utils/common.py +++ b/src/ydata_profiling/utils/common.py @@ -100,10 +100,9 @@ def convert_timestamp_to_datetime(timestamp: int) -> datetime: def analytics_features(dataframe: str, datatype: str, report_type: str) -> None: endpoint = "https://packages.ydata.ai/ydata-profiling?" + package_version = __version__ - if bool(os.getenv("YDATA_PROFILING_NO_ANALYTICS")) is not True: - package_version = __version__ - + if bool(os.getenv("YDATA_PROFILING_NO_ANALYTICS")) is not True and package_version!='0.0.dev0': try: subprocess.check_output("nvidia-smi") gpu_present = True From 1fd51700833cf3a4efc316d14a8e49c607de224f Mon Sep 17 00:00:00 2001 From: Azory YData Bot Date: Tue, 7 May 2024 17:15:41 +0000 Subject: [PATCH 2/3] fix(linting): code formatting --- src/ydata_profiling/utils/common.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ydata_profiling/utils/common.py b/src/ydata_profiling/utils/common.py index 75ec2599c..0cd8d018d 100644 --- a/src/ydata_profiling/utils/common.py +++ b/src/ydata_profiling/utils/common.py @@ -102,7 +102,10 @@ def analytics_features(dataframe: str, datatype: str, report_type: str) -> None: endpoint = "https://packages.ydata.ai/ydata-profiling?" package_version = __version__ - if bool(os.getenv("YDATA_PROFILING_NO_ANALYTICS")) is not True and package_version!='0.0.dev0': + if ( + bool(os.getenv("YDATA_PROFILING_NO_ANALYTICS")) is not True + and package_version != "0.0.dev0" + ): try: subprocess.check_output("nvidia-smi") gpu_present = True From 7607420cdc753ba76fcb1a8264844226eb9dc27a Mon Sep 17 00:00:00 2001 From: Fabiana Clemente Date: Tue, 7 May 2024 10:19:12 -0700 Subject: [PATCH 3/3] docs: add new link to docs --- docs/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/index.md b/docs/index.md index af0fa4271..344597293 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,6 @@ # Welcome + Data quality profiling and exploratory data analysis are crucial steps in the process of Data Science and Machine Learning development. YData-profiling is a leading tool in the data understanding step of the data science workflow as a pioneering Python package.