MCPcopy Index your code
hub / github.com/microsoft/qlib / normalize_cache_fields

Function normalize_cache_fields

qlib/utils/__init__.py:350–356  ·  view source on GitHub ↗

normalize cache fields :param fields: features fields :return: list

(fields: [list, tuple])

Source from the content-addressed store, hash-verified

348
349
350def normalize_cache_fields(fields: [list, tuple]):
351 """normalize cache fields
352
353 :param fields: features fields
354 :return: list
355 """
356 return sorted(remove_repeat_field(remove_fields_space(fields)))
357
358
359def normalize_cache_instruments(instruments):

Callers 3

normalize_uri_argsMethod · 0.85
_datasetMethod · 0.85
dataset_processorMethod · 0.85

Calls 2

remove_repeat_fieldFunction · 0.85
remove_fields_spaceFunction · 0.85

Tested by

no test coverage detected