Python randomly drops to 0% CPU usage, causing the code to “hang up”, when handling large numpy arrays?

前端 未结 3 1788
隐瞒了意图╮
隐瞒了意图╮ 2021-01-12 17:04

I have been running some code, a part of which loads in a large 1D numpy array from a binary file, and then alters the array using the numpy.where() method.

Here is

3条回答
  •  借酒劲吻你
    2021-01-12 17:26

    Did you click or select the Console window? This behavior can "hang" the process. Console enters "QuickEditMode". Pressing any key can resume the process.

提交回复
热议问题