Skip to content

Commit

Permalink
Fix warning in processor.py. (#1386)
Browse files Browse the repository at this point in the history
* Fix warning in processor.py.

* Remove comment.
  • Loading branch information
ChiahungTai committed Dec 8, 2022
1 parent 577923a commit ea10da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qlib/data/dataset/processor.py
Expand Up @@ -313,7 +313,7 @@ def __call__(self, df):
self.fields_group = [self.fields_group]
for g in self.fields_group:
cols = get_group_columns(df, g)
df[cols] = df[cols].groupby("datetime").apply(self.zscore_func)
df[cols] = df[cols].groupby("datetime", group_keys=False).apply(self.zscore_func)
return df


Expand Down

0 comments on commit ea10da3

Please sign in to comment.