Pycharm - 找不到参考'键' in' int | float | complex'

时间:2017-12-12 11:19:03

标签: python python-3.x numpy pycharm

在Pycharm中,我获得Cannot find reference 'keys' in 'int|float|complex'Cannot find reference '[' in 'int|float|complex'以获取以下行。我该如何解决?我坚持要解决它!

dictionary = np.load(path2sink + 'dict.npy').item()
keys = [k for k in dictionary.keys() if dictionary[k] < threshold]

0 个答案:

没有答案