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

Method get_dump_fields

scripts/dump_bin.py:179–184  ·  view source on GitHub ↗
(self, df_columns: Iterable[str])

Source from the content-addressed store, hash-verified

177 return fname_to_code(file_path.stem.strip().lower())
178
179 def get_dump_fields(self, df_columns: Iterable[str]) -> Iterable[str]:
180 return (
181 self._include_fields
182 if self._include_fields
183 else set(df_columns) - set(self._exclude_fields) if self._exclude_fields else df_columns
184 )
185
186 @staticmethod
187 def _read_calendars(calendar_path: Path) -> List[pd.Timestamp]:

Callers 1

_data_to_binMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected