Skip to content

Commit

Permalink
#2143 replacing float variable names by str in pandas.DataFrame passed (
Browse files Browse the repository at this point in the history
  • Loading branch information
hmtbgc committed Mar 10, 2022
1 parent 93e4ad1 commit 297588c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sktime/transformations/series/summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def _transform(self, X, y=None):
summary_value = Z.agg(summary_function)
if quantiles is not None:
quantile_value = Z.quantile(quantiles)
quantile_value.index = [str(s) for s in quantile_value.index]
summary_value = pd.concat([summary_value, quantile_value])

if isinstance(Z, pd.Series):
Expand Down

0 comments on commit 297588c

Please sign in to comment.