mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-12 23:36:54 +08:00
Update utils.py for typo (#1751)
Fix typo Co-authored-by: Linlang <Lv.Linlang@hotmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ if TYPE_CHECKING:
|
|||||||
from qlib.data.dataset import DataHandler
|
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`
|
get the level index of `df` given `level`
|
||||||
|
|||||||
Reference in New Issue
Block a user