Skip to content

Commit 2ae4be4

Browse files
playfundLinlang Lv (iSoftStone Information)
and
Linlang Lv (iSoftStone Information)
authored
Delete redundant copy() code to speed up (#1732)
Delete redundant copy() code to speed up Co-authored-by: Linlang Lv (iSoftStone Information) <[email protected]>
1 parent 6ed83f7 commit 2ae4be4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

qlib/data/data.py

-1
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,6 @@ def get_column_names(fields):
536536
"""
537537
if len(fields) == 0:
538538
raise ValueError("fields cannot be empty")
539-
fields = fields.copy()
540539
column_names = [str(f) for f in fields]
541540
return column_names
542541

0 commit comments

Comments
 (0)