为什么我会收到错误熊猫超出范围的纳秒级时间戳:5-05-29 11:33:59?

时间:2019-05-29 04:42:39

标签: python python-3.x

如何解决这个问题,为什么我会收到这样的错误

  

超出范围的纳秒级时间戳:5-05-29 11:33:59`


我的代码在这里:

    import dash
    import dash_core_components as dcc
    import dash_html_components as html

    from datetime import datetime
    from  dateutil.relativedelta import relativedelta
    from iexfinance.stocks import get_historical_data

    start = datetime.today() - relativedelta(year=5)
    end = datetime.today()

    # GE -> general eletric just simbol
    df = get_historical_data("GE", start=start, end=end, output_format="pandas")
    print(df.head())

0 个答案:

没有答案