Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: migrate Bootstrap from 3.3.7 to 5.3.3 #1654

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ydata_profiling/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def primary_color(self) -> str:
return self.primary_colors[0]

# Primary color used for comparisons (default: blue, red, green)
primary_colors: List[str] = ["#377eb8", "#e41a1c", "#4daf4a"]
primary_colors: List[str] = ["#0d6efd", "#dc3545", "#198754"]

# Base64-encoded logo image
logo: str = ""
Expand Down
270 changes: 137 additions & 133 deletions src/ydata_profiling/config_default.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Title of the document
title: "Pandas Profiling Report"
title: YData Profiling Report

# Metadata
dataset:
Expand Down Expand Up @@ -27,93 +27,97 @@ progress_bar: true

# Per variable type description settings
vars:
num:
quantiles:
- 0.05
- 0.25
- 0.5
- 0.75
- 0.95
skewness_threshold: 20
low_categorical_threshold: 5
# Set to zero to disable
chi_squared_threshold: 0.999
cat:
length: true
characters: true
words: true
cardinality_threshold: 50
n_obs: 5
# Set to zero to disable
chi_squared_threshold: 0.999
coerce_str_to_date: false
redact: false
histogram_largest: 50
stop_words: []
bool:
n_obs: 3
# string to boolean mapping dict
mappings:
t: true
f: false
yes: true
no: false
y: true
n: false
true: true
false: false
file:
active: false
image:
active: false
exif: true
hash: true
path:
active: false
url:
active: false
timeseries:
active: false
autocorrelation: 0.7
lags: [1, 7, 12, 24, 30]
significance: 0.05
pacf_acf_lag: 100
num:
quantiles:
- 0.05
- 0.25
- 0.5
- 0.75
- 0.95
skewness_threshold: 20
low_categorical_threshold: 5
# Set to zero to disable
chi_squared_threshold: 0.999
cat:
length: true
characters: true
words: true
cardinality_threshold: 50
n_obs: 5
# Set to zero to disable
chi_squared_threshold: 0.999
coerce_str_to_date: false
redact: false
histogram_largest: 50
stop_words: []
bool:
n_obs: 3
# string to boolean mapping dict
mappings:
t: true
f: false
yes: true
no: false
y: true
n: false
"true": true
"false": false
file:
active: false
image:
active: false
exif: true
hash: true
path:
active: false
url:
active: false
timeseries:
active: false
autocorrelation: 0.7
lags:
- 1
- 7
- 12
- 24
- 30
significance: 0.05
pacf_acf_lag: 100

# Sort the variables. Possible values: "ascending", "descending" or null (leaves original sorting)
sort: null

# which diagrams to show
missing_diagrams:
bar: true
matrix: true
heatmap: true
bar: true
matrix: true
heatmap: true

correlations:
pearson:
calculate: false
warn_high_correlations: true
threshold: 0.9
spearman:
calculate: false
warn_high_correlations: false
threshold: 0.9
kendall:
calculate: false
warn_high_correlations: false
threshold: 0.9
phi_k:
calculate: false
warn_high_correlations: false
threshold: 0.9
cramers:
calculate: false
warn_high_correlations: true
threshold: 0.9
auto:
calculate: true
warn_high_correlations: true
threshold: 0.9

pearson:
calculate: false
warn_high_correlations: true
threshold: 0.9
spearman:
calculate: false
warn_high_correlations: false
threshold: 0.9
kendall:
calculate: false
warn_high_correlations: false
threshold: 0.9
phi_k:
calculate: false
warn_high_correlations: false
threshold: 0.9
cramers:
calculate: false
warn_high_correlations: true
threshold: 0.9
auto:
calculate: true
warn_high_correlations: true
threshold: 0.9

# Bivariate / Pairwise relations
interactions:
Expand All @@ -128,38 +132,38 @@ report:

# Plot-specific settings
plot:
# Image format (svg or png)
image_format: "svg"
dpi: 800
# Image format (svg or png)
image_format: svg
dpi: 800

scatter_threshold: 1000
scatter_threshold: 1000

correlation:
cmap: 'RdBu'
bad: '#000000'
correlation:
cmap: RdBu
bad: "#000000"

missing:
cmap: 'RdBu'
# Force labels when there are > 50 variables
# https://github.com/ResidentMario/missingno/issues/93#issuecomment-513322615
force_labels: true
missing:
cmap: RdBu
# Force labels when there are > 50 variables
# https://github.com/ResidentMario/missingno/issues/93#issuecomment-513322615
force_labels: true

cat_frequency:
show: true # if false, the category frequency plot is turned off
type: 'bar' # options: 'bar', 'pie'
max_unique: 10
colors: null # use null for default or give a list of matplotlib recognised strings
cat_frequency:
show: true # if false, the category frequency plot is turned off
type: bar # options: 'bar', 'pie'
max_unique: 10
colors: null # use null for default or give a list of matplotlib recognized strings

histogram:
x_axis_labels: true
histogram:
x_axis_labels: true

# Number of bins (set to 0 to automatically detect the bin size)
bins: 50
# Number of bins (set to 0 to automatically detect the bin size)
bins: 50

# Maximum number of bins (when bins=0)
max_bins: 250
# Maximum number of bins (when bins=0)
max_bins: 250

font_path: null
font_path: null

# The number of observations to show
n_obs_unique: 5
Expand All @@ -171,49 +175,49 @@ memory_deep: false

# Configuration related to the duplicates
duplicates:
head: 10
key: "# duplicates"
head: 10
key: "# duplicates"

# Configuration related to the samples area
samples:
head: 10
tail: 10
random: 0
head: 10
tail: 10
random: 0

# Configuration related to the rejection of variables
reject_variables: true

# When in a Jupyter notebook
notebook:
iframe:
height: '800px'
width: '100%'
# or 'src'
attribute: 'srcdoc'
iframe:
height: 800px
width: 100%
# or 'src'
attribute: srcdoc

html:
# Minify the html
minify_html: true
# Minify the html
minify_html: true

# Offline support
use_local_assets: true
# Offline support
use_local_assets: true

# If true, single file, else directory with assets
inline: true
# If true, single file, else directory with assets
inline: true

# Show navbar
navbar_show: true
# Show navbar
navbar_show: true

# Assets prefix if inline = true
assets_prefix: null
# Assets prefix if inline = true
assets_prefix: null

# Styling options for the HTML report
style:
theme: null
logo: ""
primary_colors:
- "#377eb8"
- "#e41a1c"
- "#4daf4a"
# Styling options for the HTML report
style:
theme: null
logo: ""
primary_colors:
- "#0d6efd"
- "#dc3545"
- "#198754"

full_width: false
full_width: false
Loading
Loading