在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]