100个numpy问题36-100

  1. 如何得到numpy数组的百分数,比如:
#原始数组
array([1, 2, 3, 4, 5])

使用np.percentile()函数

# -*- coding: utf-8 -*-
"""
Created on Thu Oct 22 10:17:36 2020

@author: 15025
"""

import</

猜你喜欢

转载自blog.csdn.net/u011699626/article/details/109260283
今日推荐