首先需要数据源,这里随便写了一个:nums = [1,2,3,4]求均值和中位数均可以使用numpy库的方法:#均值np.mean(nums)#中位数np.median(nums)求众数方法一:在numpy中没有 ...
確定! 回上一頁