Skip to content

Commit b09352d

Browse files
committed
rename examples
1 parent 3369ca3 commit b09352d

38 files changed

Lines changed: 77 additions & 77 deletions

.github/ISSUE_TEMPLATE/bug_report_form.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ body:
4141
description: A minimal standalone code sample that reproduces the bug
4242
placeholder: |
4343
import pandas as pd
44-
from ydata_profiling import ProfileReport
44+
from data_profiling import ProfileReport
4545
4646
df = pd.read_parquet(r"<file>")
4747
report = ProfileReport(df, title="bug report")

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ include LICENSE
66
include *.md
77

88
# Templates and static resources
9-
recursive-include src/ydata_profiling/report/presentation/flavours/html/templates *.html *.js *.css
9+
recursive-include src/data_profiling/report/presentation/flavours/html/templates *.html *.js *.css
1010

1111
# Configuration
12-
include src/ydata_profiling/*.yaml
12+
include src/data_profiling/*.yaml
1313

1414
# Spark Dev venv
1515
recursive-include venv *.yml

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ test:
77
pytest tests/unit/
88
pytest tests/issues/
99
pytest --nbval tests/notebooks/
10-
ydata_profiling -h
10+
data_profiling -h
1111

1212
test_spark:
1313
pytest tests/backends/spark_backend/
14-
ydata_profiling -h
14+
data_profiling -h
1515

1616
test_cov:
1717
pytest --cov=. tests/unit/
1818
pytest --cov=. --cov-append tests/issues/
1919
pytest --cov=. --cov-append --nbval tests/notebooks/
20-
ydata_profiling -h
20+
data_profiling -h
2121

2222
examples:
2323
find ./examples -maxdepth 2 -type f -name "*.py" -execdir python {} \;

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Start by loading your pandas `DataFrame` as you normally would, e.g. by using:
5050
```python
5151
import numpy as np
5252
import pandas as pd
53-
from ydata_profiling import ProfileReport
53+
from data_profiling import ProfileReport
5454

5555
df = pd.DataFrame(np.random.rand(100, 5), columns=["a", "b", "c", "d", "e"])
5656
```
@@ -142,10 +142,10 @@ profile.to_file("your_report.json")
142142

143143
### Using in the command line
144144

145-
For standard formatted CSV files (which can be read directly by pandas without additional settings), the `ydata_profiling` executable can be used in the command line. The example below generates a report named *Example Profiling Report*, using a configuration file called `default.yaml`, in the file `report.html` by processing a `data.csv` dataset.
145+
For standard formatted CSV files (which can be read directly by pandas without additional settings), the `data_profiling` executable can be used in the command line. The example below generates a report named *Example Profiling Report*, using a configuration file called `default.yaml`, in the file `report.html` by processing a `data.csv` dataset.
146146

147147
```sh
148-
ydata_profiling --title "Example Profiling Report" --config_file default.yaml data.csv report.html
148+
data_profiling --title "Example Profiling Report" --config_file default.yaml data.csv report.html
149149
```
150150

151151
Additional details on the CLI are available [on the documentation](https://data-profiling.ydata.ai/docs/master/pages/getting_started/quickstart.html#command-line-usage).

examples/bank_marketing_data/banking_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
import pandas as pd
66

7-
from ydata_profiling import ProfileReport
8-
from ydata_profiling.utils.cache import cache_zipped_file
7+
from data_profiling import ProfileReport
8+
from data_profiling.utils.cache import cache_zipped_file
99

1010
if __name__ == "__main__":
1111
file_name = cache_zipped_file(

examples/census/census.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
import numpy as np
55
import pandas as pd
66

7-
from ydata_profiling import ProfileReport
8-
from ydata_profiling.config import Dataset
9-
from ydata_profiling.utils.cache import cache_file
7+
from data_profiling import ProfileReport
8+
from data_profiling.config import Dataset
9+
from data_profiling.utils.cache import cache_file
1010

1111
if __name__ == "__main__":
1212
file_name = cache_file(

examples/chicago_employees/chicago_employees.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import pandas as pd
44

5-
from ydata_profiling import ProfileReport
6-
from ydata_profiling.utils.cache import cache_file
5+
from data_profiling import ProfileReport
6+
from data_profiling.utils.cache import cache_file
77

88
if __name__ == "__main__":
99
file_name = cache_file(

examples/colors/colors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import pandas as pd
44

5-
from ydata_profiling import ProfileReport
6-
from ydata_profiling.utils.cache import cache_file
5+
from data_profiling import ProfileReport
6+
from data_profiling.utils.cache import cache_file
77

88
if __name__ == "__main__":
99
file_name = cache_file(

examples/features/correlation_auto_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import pandas as pd
44

5-
from ydata_profiling import ProfileReport
6-
from ydata_profiling.utils.cache import cache_zipped_file
5+
from data_profiling import ProfileReport
6+
from data_profiling.utils.cache import cache_zipped_file
77

88
"""
99
The "Auto" correlation is an interpretable pairwise column metric of the following mapping:

examples/features/correlation_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import pandas as pd
44

5-
from ydata_profiling import ProfileReport
6-
from ydata_profiling.utils.cache import cache_zipped_file
5+
from data_profiling import ProfileReport
6+
from data_profiling.utils.cache import cache_zipped_file
77

88
"""
99
The "Auto" correlation is an interpretable pairwise column metric of the following mapping:

0 commit comments

Comments
 (0)