зеркало из https://github.com/microsoft/qlib.git
Delete redundant copy() code to speed up (#1732)
Delete redundant copy() code to speed up Co-authored-by: Linlang Lv (iSoftStone Information) <v-lvlinlang@microsoft.com>
This commit is contained in:
Родитель
6ed83f7c04
Коммит
2ae4be426a
|
@ -536,7 +536,6 @@ class DatasetProvider(abc.ABC):
|
|||
"""
|
||||
if len(fields) == 0:
|
||||
raise ValueError("fields cannot be empty")
|
||||
fields = fields.copy()
|
||||
column_names = [str(f) for f in fields]
|
||||
return column_names
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче