当从complex 转换为float 或int 时,为了避免这种情况,应该使用avoid。一个应使用的方法a.real.astype(type)。 变更. 以下是NumPy 近期版本关于此方法的 ...
確定! 回上一頁