Skip to content

Commit

Permalink
Delete redundant copy() code to speed up
Browse files Browse the repository at this point in the history
Delete redundant copy() code to speed up
  • Loading branch information
playfund authored Jan 10, 2024
1 parent 98f569e commit 9bbc9b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion qlib/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,6 @@ def get_column_names(fields):
"""
if len(fields) == 0:
raise ValueError("fields cannot be empty")
fields = fields.copy()
column_names = [str(f) for f in fields]
return column_names

Expand Down

0 comments on commit 9bbc9b6

Please sign in to comment.