mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-12 15:26:54 +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]
|
self.fields_group = [self.fields_group]
|
||||||
for g in self.fields_group:
|
for g in self.fields_group:
|
||||||
cols = get_group_columns(df, g)
|
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
|
return df
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user