1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

Update utils.py for typo (#1751)

Fix typo

Co-authored-by: Linlang <Lv.Linlang@hotmail.com>
This commit is contained in:
block-gpt
2024-06-01 19:33:23 +08:00
committed by GitHub
parent 35e0fdd1c0
commit 7db83d84b7

View File

@@ -9,7 +9,7 @@ if TYPE_CHECKING:
from qlib.data.dataset import DataHandler
def get_level_index(df: pd.DataFrame, level=Union[str, int]) -> int:
def get_level_index(df: pd.DataFrame, level: Union[str, int]) -> int:
"""
get the level index of `df` given `level`