Skip to content

Commit

Permalink
Visions integration (#570)
Browse files Browse the repository at this point in the history
* Visions integration

Co-authored-by: ieaves <ieaves@users.noreply.github.com>
  • Loading branch information
sbrugman and ieaves committed Jan 5, 2021
1 parent 9ddf61f commit d4e7018
Show file tree
Hide file tree
Showing 75 changed files with 166,303 additions and 164,855 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci_test.yml
Expand Up @@ -9,14 +9,14 @@ jobs:
matrix:
os: [ ubuntu-latest ]
python-version: [ 3.8 ]
pandas: ["<1", "==1.0.5", ">1.1"]
pandas: ["==0.25.3", "==1.0.5", ">1.1"]
include:
- os: macos-latest
python-version: 3.6
pandas: ">1.1"
- os: windows-latest
python-version: 3.6
pandas: ">1.1"
# - os: windows-2016
# python-version: 3.6
# pandas: ">1.1"
- os: ubuntu-latest
python-version: 3.6
pandas: ">1.1"
Expand Down
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Expand Up @@ -35,4 +35,6 @@ repos:
rev: "3.8.4"
hooks:
- id: flake8
args: [ "--select=E9,F63,F7,F82" ]
args: [ "--select=E9,F63,F7,F82"] #,T001
# additional_dependencies:
# - flake8-print
2 changes: 2 additions & 0 deletions MANIFEST.in
Expand Up @@ -4,6 +4,8 @@ include requirements*.txt
# Include license, Readme, etc.
include LICENSE
include *.md
include mypy.ini
include src/pandas_profiling/py.typed

# Styles
include src/pandas_profiling/visualisation/*.mplstyle
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -19,8 +19,8 @@ test:

test_cov:
pytest --cov=. tests/unit/
pytest --cov=. tests/issues/
pytest --cov=. --nbval tests/notebooks/
pytest --cov=. --cov-append tests/issues/
pytest --cov=. --cov-append --nbval tests/notebooks/
pandas_profiling -h
make typing

Expand Down
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -81,6 +81,8 @@ The following examples can give you an impression of what the package can do:
* [Stata Auto](https://pandas-profiling.github.io/pandas-profiling/examples/master/stata_auto/stata_auto_report.html) (1978 Automobile data)
* [Vektis](https://pandas-profiling.github.io/pandas-profiling/examples/master/vektis/vektis_report.html) (Vektis Dutch Healthcare data)
* [Colors](https://pandas-profiling.github.io/pandas-profiling/examples/master/colors/colors_report.html) (a simple colors dataset)
* [UCI Bank Dataset](https://pandas-profiling.github.io/pandas-profiling/examples/master/cbank_marketing_data/uci_bank_marketing_report.html) (banking marketing dataset)


Specific features:

Expand Down
1 change: 1 addition & 0 deletions examples/features/images_cats_and_dogs.py
Expand Up @@ -50,6 +50,7 @@
profile.set_variable("plot.scatter_threshold", 25000)

# Enable files and images (off by default, as it uses relatively expensive computations when not interested)
profile.set_variable("vars.path.active", True)
profile.set_variable("vars.file.active", True)
profile.set_variable("vars.image.active", True)

Expand Down
2 changes: 1 addition & 1 deletion examples/features/urls.py
Expand Up @@ -15,6 +15,6 @@
profile = ProfileReport(
df,
title="Website Inaccessibility Test Lists",
correlations={"cramers": {"calculate": False}},
vars=dict(url=dict(active=True)),
)
profile.to_file(Path("./website_inaccessibility_report.html"))

0 comments on commit d4e7018

Please sign in to comment.