mirror of
https://github.com/microsoft/qlib.git
synced 2026-06-06 05:51:17 +08:00
Fix warning in processor.py. (#1386)
* Fix warning in processor.py. * Remove comment.
This commit is contained in:
@@ -313,7 +313,7 @@ class CSZScoreNorm(Processor):
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user