MCPcopy Create free account
hub / github.com/Open-Quant/openquant / _normalize_column_name

Function _normalize_column_name

python/openquant/data.py:52–53  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

50
51
52def _normalize_column_name(name: str) -> str:
53 return name.strip().lower().replace("-", "_")
54
55
56def _canonicalize_columns(df: pl.DataFrame) -> pl.DataFrame:

Callers 1

_canonicalize_columnsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected