Skip to content

Commit 5a7c611

Browse files
authored
Merge branch 'develop' into issue915
2 parents e689665 + 906591e commit 5a7c611

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/pandas_profiling/model/describe.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ def describe(
8484
if type_name != "Unsupported"
8585
]
8686
interval_columns = [
87-
column for column, type_name in variables.items() if type_name == "Numeric"
87+
column
88+
for column, type_name in variables.items()
89+
if type_name in {"Numeric", "TimeSeries"}
8890
]
8991
pbar.update()
9092

src/pandas_profiling/model/pandas/correlations_pandas.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def pandas_auto_compute(
164164
numerical_columns = [
165165
key
166166
for key, value in summary.items()
167-
if value["type"] == "Numeric" and value["n_distinct"] > 1
167+
if value["type"] in {"Numeric", "TimeSeries"} and value["n_distinct"] > 1
168168
]
169169
categorical_columns = [
170170
key

0 commit comments

Comments
 (0)