如何將列表的平均值的數據類型也轉換為列表(python)?
比如:
import numpya = [1,2,3,4,5,6]b = numpy.average(a)print(b)print(type(b))
結果顯示為:3.5,b的數據類型為:numpy.float64
如何把b的數據類型轉換為列表呢?即結果為:[3.5]
目錄前言1.創建進程2.多進程中的Queue3.多進程與多線
項目介紹With the continuous increa
author : Empty bad uncle Blog
Python Medium for Statement to
Python Many advantages , Here
There was this mistake , Is it