Skip to content

Commit 0ed32b7

Browse files
gmartinsribeiroazory-ydatafabclmnt
authored
docs: fix report titles (#1710)
* docs: fix report titles change pandas to ydata * fix(linting): code formatting * docs: fix typo remove extra word * fix(linting): code formatting --------- Co-authored-by: Azory YData Bot <azory@ydata.ai> Co-authored-by: Fabiana <30911746+fabclmnt@users.noreply.github.com>
1 parent 7438fff commit 0ed32b7

File tree

19 files changed

+31
-31
lines changed

19 files changed

+31
-31
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Parameter,Type,Default,Description
2-
``title``,string,"Pandas Profiling Report","Title for the report, shown in the header and title bar."
2+
``title``,string,"YData Profiling Report","Title for the report, shown in the header and title bar."
33
``pool_size``,integer,0,"Number of workers in thread pool. When set to zero, it is set to the number of CPUs available."
44
``progress_bar``,boolean,``True``,"If ``True``, ``ydata-profiling`` will display a progress bar."

docs/features/custom_reports.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ An example would be:
2828
```python linenums="1" title="Customize plots rendering"
2929
profile = ProfileReport(
3030
planets,
31-
title="Pandas Profiling Report",
31+
title="YData Profiling Report",
3232
explorative=True,
3333
plot={"dpi": 200, "image_format": "png"},
3434
)
@@ -68,7 +68,7 @@ the palette used by the correlation matrix, use the ``correlation`` key:
6868

6969
profile = ProfileReport(
7070
df,
71-
title="Pandas Profiling Report",
71+
title="YData Profiling Report",
7272
explorative=True,
7373
plot={"correlation": {"cmap": "RdBu_r", "bad": "#000000"}},
7474
)
@@ -81,7 +81,7 @@ Similarly, the palette for *Missing values* can be changed using ``missing`` arg
8181

8282
profile = ProfileReport(
8383
df,
84-
title="Pandas Profiling Report",
84+
title="YData Profiling Report",
8585
explorative=True,
8686
plot={"missing": {"cmap": "RdBu_r"}},
8787
)

docs/getting-started/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ df = pd.DataFrame(np.random.rand(100, 5), columns=["a", "b", "c", "d", "e"])
1414
To generate the standard profiling report, merely run:
1515

1616
``` python
17-
profile = ProfileReport(df, title="Pandas Profiling Report")
17+
profile = ProfileReport(df, title="YData Profiling Report")
1818
```
1919

2020
## Using inside Jupyter Notebooks

docs/integrations/great_expectations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ from ydata_profiling import ProfileReport
7272

7373
df = pd.read_csv("titanic.csv")
7474

75-
profile = ProfileReport(df, title="Pandas Profiling Report", explorative=True)
75+
profile = ProfileReport(df, title="YData Profiling Report", explorative=True)
7676

7777
# Obtain an Expectation Suite with a set of default Expectations
7878
# By default, this also profiles the dataset, saves the suite, runs validation, and builds Data Docs

examples/hcc/eda-with-feature-comparison.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Pandas Profiling: HCC Dataset\n",
7+
"# YData Profiling: HCC Dataset\n",
88
"Source of data: https://www.kaggle.com/datasets/mrsantos/hcc-dataset\n",
99
"\n",
1010
"As modifiations have been introduced for the purpose of this use case, the .csv file is provided (hcc.csv)."
@@ -67,7 +67,7 @@
6767
"metadata": {},
6868
"source": [
6969
"## Analysis of \"Alerts\"\n",
70-
"Pandas Profiling alerts for the presence of 4 potential data quality problems:\n",
70+
"YData Profiling alerts for the presence of 4 potential data quality problems:\n",
7171
"\n",
7272
"- `DUPLICATES`: 4 duplicate rows in data\n",
7373
"- `CONSTANT`: Constant value “999” in ‘O2’\n",

examples/integrations/great_expectations/great_expectations_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
df = pd.read_csv(file_name)
1313

14-
profile = ProfileReport(df, title="Pandas Profiling Report", explorative=True)
14+
profile = ProfileReport(df, title="YData Profiling Report", explorative=True)
1515

1616
# Example 1
1717
# Obtain expectation suite, this includes profiling the dataset, saving the expectation suite, validating the

examples/meteorites/meteorites.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"## Pandas Profiling: NASA Meteorites example\n",
7+
"## YData Profiling: NASA Meteorites example\n",
88
"Source of data: https://data.nasa.gov/Space-Science/Meteorite-Landings/gh4g-9sfh"
99
]
1010
},

examples/meteorites/meteorites_cloud.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"## Pandas Profiling: NASA Meteorites example\n",
7+
"## YData Profiling: NASA Meteorites example\n",
88
"Source of data: https://data.nasa.gov/Space-Science/Meteorite-Landings/gh4g-9sfh"
99
]
1010
},

examples/usaairquality/usaairquality.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"id": "75bdb225-9ba6-479b-b15a-8fde07034146",
66
"metadata": {},
77
"source": [
8-
"## Pandas Profiling: USA Air Pollution Data\n",
8+
"## YData Profiling: USA Air Pollution Data\n",
99
"Source of data: https://data.world/data-society/us-air-pollution-data"
1010
]
1111
},
@@ -33,7 +33,7 @@
3333
"id": "fd3ef034-d2d1-4e12-9c8d-7cd685bfe001",
3434
"metadata": {},
3535
"source": [
36-
"Make sure that we have the latest version of pandas-profiling."
36+
"Make sure that we have the latest version of ydata-profiling."
3737
]
3838
},
3939
{
@@ -46,7 +46,7 @@
4646
"%%capture\n",
4747
"import sys\n",
4848
"\n",
49-
"!{sys.executable} -m pip install -U pandas-profiling[notebook]\n",
49+
"!{sys.executable} -m pip install -U ydata-profiling[notebook]\n",
5050
"!pip install jupyter-contrib-nbextensions\n",
5151
"!jupyter nbextension enable --py widgetsnbextension"
5252
]
@@ -120,7 +120,7 @@
120120
"id": "01519464",
121121
"metadata": {},
122122
"source": [
123-
"The support to time series can be enabled by passing the parameter tsmode=True to the ProfileReport when its enabled, pandas profiling will try to identify time-dependent features using the feature's autocorrelation, which requires a sorted DataFrame or the definition of the `sortby` parameter.\n",
123+
"The support to time series can be enabled by passing the parameter tsmode=True to the ProfileReport when its enabled, ydata-profiling will try to identify time-dependent features using the feature's autocorrelation, which requires a sorted DataFrame or the definition of the `sortby` parameter.\n",
124124
"\n",
125125
"When a feature is identified as time series will trigger the following changes:\n",
126126
" - the histogram will be replaced by a line plot\n",

src/ydata_profiling/compare_reports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def _placeholders(reports: List[BaseDescription]) -> None:
105105
def _update_titles(reports: List[ProfileReport]) -> None:
106106
"""Redefine title of reports with the default one."""
107107
for idx, report in enumerate(reports):
108-
if report.config.title == "Pandas Profiling Report":
108+
if report.config.title == "YData Profiling Report":
109109
report.config.title = f"Dataset {chr(65 + idx)}"
110110

111111

0 commit comments

Comments
 (0)