Skip to content

Commit

Permalink
Merge branch 'develop' into issue915
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohaib90 authored Jan 24, 2023
2 parents e689665 + 906591e commit 5a7c611
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/pandas_profiling/model/describe.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ def describe(
if type_name != "Unsupported"
]
interval_columns = [
column for column, type_name in variables.items() if type_name == "Numeric"
column
for column, type_name in variables.items()
if type_name in {"Numeric", "TimeSeries"}
]
pbar.update()

Expand Down
2 changes: 1 addition & 1 deletion src/pandas_profiling/model/pandas/correlations_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def pandas_auto_compute(
numerical_columns = [
key
for key, value in summary.items()
if value["type"] == "Numeric" and value["n_distinct"] > 1
if value["type"] in {"Numeric", "TimeSeries"} and value["n_distinct"] > 1
]
categorical_columns = [
key
Expand Down

0 comments on commit 5a7c611

Please sign in to comment.