星巴克是什么| 山药有什么功效| 猫爪草有什么功效| 打眼是什么意思| 洁癖什么意思| 月经来吃什么好| 塞翁失马是什么生肖| 正月十六是什么星座| 老年痴呆症又叫什么名字| 呆板是什么意思| 建议MRI检查是什么意思| buy是什么意思| 变卖是什么意思| 孕32周需要做什么检查| 兔肉不能和什么一起吃| 感冒有什么症状| 格桑花是什么花| 情人节送什么花| 空调长时间不用再开注意什么| 检查胆囊挂什么科| 石决明是什么| 便秘喝什么茶好| 隐血阳性是什么意思| 什么罗之恋| 虐猫是什么意思| 柠檬水有什么功效| 空调制冷效果差是什么原因| 梦见死尸什么预兆| ems代表什么| 右眼一直跳是因为什么原因| 煮牛肉放什么容易烂| 风疹病毒抗体阳性是什么意思| 纪梵希属于什么档次| nl是什么单位| 胃炎糜烂吃什么食物好| 什么叫洗钱| 单核细胞高是什么感染| 氧气是什么| 白介素高是什么原因| 诸葛亮老婆叫什么名字| 氮是什么| 青鹏软膏主要治疗什么| 大姨妈来了可以吃什么水果| 什么叫意识| 长期口臭要看什么科| 什么是善良| 怀孕初期什么症状| 柯基为什么要断尾巴| 豪五行属什么| 巧克力是什么做的| 栉风沐雨什么意思| 生菜有什么营养价值| 吃灵芝孢子粉有什么好处| 鱼的偏旁部首是什么| 小肠换气吃什么药| 榴莲什么时候吃是应季| 青霉素主治什么病| 脱发严重是什么原因| 耳鸣是什么原因引起的| 腿脚发麻是什么原因| 什么填海| 查肝胆胰脾肾挂什么科| 头皮疼是什么原因引起的| 闹乌龙是什么意思| 治疗宫颈炎用什么药好得快| 蛇为什么怕雄黄| 喉咙老是有白痰是什么原因| 见性成佛是什么意思| c60是什么| 如果是什么意思| 牛皮糖是什么意思| 7月13日是什么星座| 胆红素是什么意思| tu是什么意思| 什么头什么尾| 为什么8到10周容易胎停| 刮痧对身体有什么好处| 腮腺炎吃什么药| 精力旺盛是什么意思| 王王是什么字| 路征和景甜什么关系| 女人脚肿是什么原因| 国资委什么级别| 兵痞是什么意思| 一进门见到什么植物好| 桑蚕丝被有什么好处| 滑石粉有什么作用| 力不从心什么意思| 广东是什么气候| 站着腰疼是什么原因引起的| 什么也别说| 心结是什么意思| 马蜂窝能治什么病| 乳头瘤是什么病| 保安的职责是什么| 燕窝是什么做成的| 初一的月亮是什么形状| 心超是检查什么的| 羊水是什么味道| 怀孕什么时候显怀| 为什么不建议治疗幽门螺杆菌| 坐车晕车是什么原因| 黄磊为什么不娶刘若英| 3月23日是什么星座| 口粮是什么意思| 桃胶和什么相克| 2008年是属什么| 鸳鸯是什么意思| 鬼佬是什么意思| 2月27是什么星座| 梦见小孩是什么意思| 男人阴虚吃什么药最好| 梦见背死人是什么意思| 押韵是什么意思| 五个月宝宝吃什么辅食最好| 梦遗是啥意思是什么| 流产吃什么药| 领袖是什么意思| lotus是什么车| 月经下不来吃什么药| 脾不好有什么症状| 老汉推车是什么意思| 舌头变肥大什么原因| 专业组是什么意思| 烧酒是什么酒| 时柱亡神是什么意思| 利有攸往是什么意思| 做人流吃什么水果| 汇报是什么意思| 美色是什么意思| b端和c端是什么意思| 白酒配什么饮料好喝| 什么是胆囊炎| 胸闷出汗是什么原因| 岁月如歌下一句是什么| 系带断了有什么影响| 引什么大叫| 湿疹用什么药好| 冰希黎香水什么档次| 鸡蛋可以炒什么菜| 寄生虫长什么样子| 工作性质是什么意思| 什么是钙化结节| 2月4日什么星座| 印堂在什么位置| 脉沉细是什么意思| 枸杞子泡茶喝有什么好处| 产酸克雷伯菌属于什么菌| 为什么硬一会就软了| 夏天哈尔滨有什么好玩的地方| 头疼发烧是什么原因| 幽门螺旋杆菌是什么原因造成的| 什么无比| 青帝是什么意思| 羊是什么命| 世界上最大的岛是什么岛| 理想主义是什么意思| 什么叫冷暴力| 疱疹病毒是什么引起的| 什么人不能喝桑黄| 音乐制作人是干什么的| 支付宝余额和余额宝有什么区别| rv是什么品牌| 16岁属什么| 切除阑尾对身体有什么影响| 晚上睡觉口干舌燥是什么原因| mtd是什么意思| 肝郁气滞吃什么药好| 断章取义是什么生肖| 9.3是什么日子| 做梦梦见前男友是什么意思| b型血为什么招蚊子| 理性什么意思| 7年之痒是什么意思| 介质是什么| 咳嗽吃什么药最好| 黑曼巴是什么意思| 玉米笋是什么| 脚背发麻是什么原因引起的| 肠胃蠕动慢吃什么药| 吃什么可以淡斑| 老干部是什么意思| 吃什么升血小板最快最好| 命好的人都有什么特征| crh是什么意思| hippo什么意思| 长宽高用什么字母表示| 卖点是什么意思| 胃功能三项检查是什么| 头发不干就睡觉有什么危害| 什么飞什么跳| 牙痛吃什么药| 男生一般什么时候停止长高| 故作矜持的意思是什么| 康复治疗技术是什么| 节育环是什么| 双子座男和什么座最配对| 颈椎病挂号挂什么科| 10月14日什么星座| 喉咙痛吃什么药效果最好| 两棵树是什么牌子| 乙肝抗体阳性什么意思| 农历11月14日是什么星座| 男朋友过生日送什么礼物最有意义| 机电一体化学什么| 梦见移坟墓是什么预兆| 花园里面有什么| 01属什么| 冷泡茶用什么茶叶| 早上起床手指肿胀是什么原因| 肠梗阻是因为什么原因引起的| 枸杞和什么搭配壮阳| 脚背上长痣代表什么| 绿豆汤放什么糖| 什么是丁克| 啮齿是什么意思| 二月二十一是什么星座| 海胆是什么动物| 睡不着吃什么药| 血脂高是什么原因引起的| 眼震是什么症状| 神秘感是什么意思| iu是什么单位| 耽美剧是什么意思| 肝郁症是什么病| 芒果过敏吃什么药| bmi什么意思| 电邮地址是什么| 电饭煲什么内胆最好| 嘴唇起泡用什么药| 心肌缺血吃什么药效果最好| 治未病是什么意思| 古尔丹代价是什么| 溺爱什么意思| 什么情况下怀疑白血病| 罗飞鱼是什么鱼| 什么颜色衣服显白| 胆碱酯酶低是什么原因| 什么是情感障碍| 伤口不愈合是什么原因| 刺猬为什么叫白仙| 早上八点多是什么时辰| 笔什么龙什么| 芸字五行属什么| 突然发胖要警惕什么病| 高血压不能吃什么食物| 馒头逼是什么意思| 胃角在什么位置图片| 火字旁的字有什么| 龟裂是什么意思| 总是感觉口渴是什么原因| 巨蟹座是什么星象| 婴儿外阴粘连挂什么科| 小揪揪什么意思| iphone5什么时候出的| 93年的鸡是什么命| 1993年五行属什么| 王林为什么叫王麻子| 梦见浇花是什么意思| 三叉神经痛有什么症状| 颈椎病头晕吃什么药好| 月字旁的字有什么| 黑脚鸡是什么品种| 验孕棒什么时候测最准确| 百度
NumPy
The fundamental package for scientific computing with Python
NumPy 2.3.0 released!
2025-08-06
Powerful N-dimensional arrays
Fast and versatile, the NumPy vectorization, indexing, and broadcasting concepts are the de-facto standards of array computing today.
Numerical computing tools
NumPy offers comprehensive mathematical functions, random number generators, linear algebra routines, Fourier transforms, and more.
Open source
Distributed under a liberal BSD license, NumPy is developed and maintained publicly on GitHub by a vibrant, responsive, and diverse community.
Interoperable
NumPy supports a wide range of hardware and computing platforms, and plays well with distributed, GPU, and sparse array libraries.
Performant
The core of NumPy is well-optimized C code. Enjoy the flexibility of Python with the speed of compiled code.
Easy to use
NumPy’s high level syntax makes it accessible and productive for programmers from any background or experience level.
Try NumPy

Use the interactive shell to try NumPy in the browser

"""
To try the examples in the browser:
1. Type code in the input cell and press
   Shift + Enter to execute
2. Or copy paste the code, and click on
   the "Run" button in the toolbar
"""

# The standard way to import NumPy:
import numpy as np

# Create a 2-D array, set every second element in
# some rows and find max per row:

x = np.arange(15, dtype=np.int64).reshape(3, 5)
x[1:, ::2] = -99
x
# array([[  0,   1,   2,   3,   4],
#        [-99,   6, -99,   8, -99],
#        [-99,  11, -99,  13, -99]])

x.max(axis=1)
# array([ 4,  8, 13])

# Generate normally distributed random numbers:
rng = np.random.default_rng()
samples = rng.normal(size=2500)
samples

ECOSYSTEM

Nearly every scientist working in Python draws on the power of NumPy.

NumPy brings the computational power of languages like C and Fortran to Python, a language much easier to learn and use. With this power comes simplicity: a solution in NumPy is often clear and elegant.

NumPy's API is the starting point when libraries are written to exploit innovative hardware, create specialized array types, or add capabilities beyond what NumPy provides.

Array LibraryCapabilities & Application areas
DaskDaskDistributed arrays and advanced parallelism for analytics, enabling performance at scale.
CuPyCuPyNumPy-compatible array library for GPU-accelerated computing with Python.
JAXJAXComposable transformations of NumPy programs: differentiate, vectorize, just-in-time compilation to GPU/TPU.
xarrayXarrayLabeled, indexed multi-dimensional arrays for advanced analytics and visualization.
sparseSparseNumPy-compatible sparse array library that integrates with Dask and SciPy's sparse linear algebra.
PyTorchPyTorchDeep learning framework that accelerates the path from research prototyping to production deployment.
TensorFlowTensorFlowAn end-to-end platform for machine learning to easily build and deploy ML powered applications.
arrowArrowA cross-language development platform for columnar in-memory data and analytics.
xtensorxtensorMulti-dimensional arrays with broadcasting and lazy computing for numerical analysis.
awkwardAwkward ArrayManipulate JSON-like data with NumPy-like idioms.
uarrayuarrayPython backend system that decouples API from implementation; unumpy provides a NumPy API.
tensorlytensorlyTensor learning, algebra and backends to seamlessly use NumPy, PyTorch, TensorFlow or CuPy.
Diagram of Python Libraries. The five catagories are 'Extract, Transform, Load', 'Data Exploration', 'Data Modeling', 'Data Evaluation' and 'Data Presentation'.

NumPy lies at the core of a rich ecosystem of data science libraries. A typical exploratory data science workflow might look like:

For high data volumes, Dask and Ray are designed to scale. Stable deployments rely on data versioning (DVC), experiment tracking (MLFlow), and workflow automation (Airflow, Dagster and Prefect).

Diagram of three overlapping circles. The circles are labeled 'Mathematics', 'Computer Science' and 'Domain Expertise'. In the middle of the diagram, which has the three circles overlapping it, is an area labeled 'Data Science'.

NumPy forms the basis of powerful machine learning libraries like scikit-learn and SciPy. As machine learning grows, so does the list of libraries built on NumPy. TensorFlow’s deep learning capabilities have broad applications — among them speech and image recognition, text-based applications, time-series analysis, and video detection. PyTorch, another deep learning library, is popular among researchers in computer vision and natural language processing.

Statistical techniques called ensemble methods such as binning, bagging, stacking, and boosting are among the ML algorithms implemented by tools such as XGBoost, LightGBM, and CatBoost — one of the fastest inference engines. Yellowbrick and Eli5 offer machine learning visualizations.

A streamplot made in matplotlib
A scatter-plot graph made in ggpy
A box-plot made in plotly
A streamgraph made in altair
A pairplot of two types of graph, a plot-graph and a frequency graph made in seaborn"
A 3D volume rendering made in PyVista.
A multi-dimensionan image made in napari.
A Voronoi diagram made in vispy.

NumPy is an essential component in the burgeoning Python visualization landscape, which includes Matplotlib, Seaborn, Plotly, Altair, Bokeh, Holoviz, Vispy, Napari, and PyVista, to name a few.

NumPy’s accelerated processing of large arrays allows researchers to visualize datasets far larger than native Python could handle.

CASE STUDIES

贫血到什么程度会晕倒 心大是什么意思 心乱如什么 糖尿病有什么症状 10月21日什么星座
摸底是什么意思 一什么杯子 头发为什么会掉 输血四项检查是什么 什么病会导致不来月经
多巴胺什么意思 2月25号是什么星座 发狂是什么意思 翌日是什么意思 勖是什么意思
小孩反复高烧是什么原因 带状疱疹看什么科 济州岛有什么好玩的 男属猴和什么属相最配 马来酸曲美布汀片什么时候吃
蚊香是什么做的mmeoe.com 黄芪和什么泡水壮阳hcv8jop8ns1r.cn 12月1日是什么意思chuanglingweilai.com 拉水便吃什么药hcv8jop0ns9r.cn 小白加小白等于什么hcv9jop1ns8r.cn
桑黄有什么药用价值zhongyiyatai.com 俄罗斯特工组织叫什么hlguo.com 黑木耳不能和什么一起吃hcv8jop9ns7r.cn 9月9日是什么星座wzqsfys.com no2是什么hcv8jop9ns3r.cn
21速和24速有什么区别bjhyzcsm.com 彪悍是什么意思hcv7jop9ns1r.cn 直男癌是什么意思hcv9jop3ns9r.cn 硬盘是什么意思hcv8jop8ns1r.cn 眼压高是什么症状hcv7jop9ns3r.cn
中医把脉能看出什么hcv8jop6ns1r.cn 什么人容易得骨髓瘤hcv7jop9ns9r.cn 总是嗳气是什么原因hcv8jop4ns4r.cn 什么红酒好喝hcv9jop7ns2r.cn 驳是什么动物1949doufunao.com
百度