📜  python 类型提示 pandas 数据框 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:09.626000             🧑  作者: Mango

代码示例1
import pandas as pd
def csv_to_df(path: str) -> pd.DataFrame:
    return pd.read_csv(path, skiprows=1, sep='\t', comment='#')