掘金社区

怎么去掉每次运行的时候显示的这个东西Pinned highlighted

tqww 发表在策略研究 2021-05-19 15:55:58

策略研究
317
2
0

C:\Users\45308\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\indexing.py:1637: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
self._setitem_single_block(indexer, value, name)

评论: 2
  • import warnings
    warnings.filterwarnings("ignore")

    2021-05-20 08:59:22
  • @charkong 谢谢,实在感谢!
    另外又有一个小问题,订阅股票的数量有限制么,可以直接回测所有股票么,symbol代码怎么写呢,谢谢老师。

    2021-05-20 09:02:26

Looks like your connection to 掘金量化社区 - 量化交易者的交流社区 was lost, please wait while we try to reconnect.