肩周炎吃什么药好| 属鸡和什么属相相克| 说一个人轴是什么意思| 移交是什么意思| 心脏大是什么病严重吗| 甲沟炎有什么药| 逻辑性是什么意思| 热病是什么病| 白脉病是什么病| 农历2月份是什么星座| 流觞是什么意思| 国家发改委主任什么级别| 什么的小朋友| 纳米是什么| 肾结石可以吃什么水果| 稀疏是什么意思| 什么是非处方药| 舌苔白色是什么原因| lbl是什么意思| 检查hpv挂什么科| 丨是什么意思| 卵巢早衰是什么意思| 经典是什么意思| 绿加红是什么颜色| hvb是什么意思| 引体向上练什么肌肉| 上市公司什么意思| 空腹不能吃什么水果| 汲汲营营是什么意思| 水印相机是什么意思| 33数字代表什么意思| 高三吃什么补脑抗疲劳| 牙周炎用什么漱口水好| 早上起来眼皮肿是什么原因| 1和0是什么意思| 脑震荡后眩晕吃什么药| 小朋友膝盖疼是什么原因| 乳腺低回声结节是什么意思| gc是什么| 上海话娘娘是什么意思| 最高的山是什么山| 烂嘴角是缺什么维生素| 妇科支原体感染吃什么药| 溪字五行属什么| 小儿电解质补给液有什么作用| 塔罗牌愚者是什么意思| 草字头内念什么| 电脑长期不关机有什么影响| 腰椎mri是什么检查| 处女座属于什么星象| 青岛属于什么气候| 联通查话费打什么号码| biw医学上是什么意思| 沉香是什么东西| 丙辰日是什么意思| 3月9日是什么星座| 傲慢表情是什么意思| 二元酸是什么| 四查十对的内容是什么| 来月经喝什么好| 经期喝什么茶好| 甘草泡水喝有什么功效| 什么叫化疗为什么要化疗| 脚老抽筋是什么原因| 阴囊湿疹用什么药膏| 刮脸有什么好处与坏处| 大龄补贴需要什么条件| 打嗝吃什么药| 爱的最高境界是什么| 盆腔炎要做什么检查| 低烧是什么原因引起的| 甲状腺结节不能吃什么东西| 蝴蝶代表什么生肖| 满足是什么意思| 城隍庙求什么最灵| 梦见骡子是什么意思| 肚皮冰凉是什么原因呢| 胰岛素起什么作用| 什么时辰出生的人命好| 背沟深代表什么| 头痛吃什么药好| 女人做梦梦到蛇是什么意思| 深海鱼油有什么作用| 身体抱恙是什么意思| 咖色搭配什么颜色好看| 必要性是什么意思| 汉武帝叫什么| 属羊的本命佛是什么佛| 纤维蛋白原偏低吃什么| ap是什么| 梦见针是什么意思| 百折不挠指什么生肖| 转移什么意思| 白色属于五行属什么| 刘璋和刘备什么关系| 泡饭为什么对胃不好| 乙肝阴性是什么意思| 拉肚子去医院挂什么科| 什么是眩晕症| hm是什么牌子的衣服| 浪子回头是什么意思| 谷氨酰转移酶高是什么原因| 平仓什么意思| 钦此是什么意思| 金银花有什么功效和作用| 甲状腺一度肿大是什么意思| 耗儿鱼是什么鱼| 海之蓝是什么香型| 4月11号是什么星座| 柔式按摩是什么意思| 急性阴道炎是什么引起的| 43属什么| 幽门螺旋杆菌是什么原因造成的| 孕妇吃西红柿对胎儿有什么好处| 三点水加邑念什么| 左眼跳女人是什么预兆| 土土念什么| 青椒炒什么好吃又简单| 女生问你喜欢她什么怎么回答| 晚上睡觉脚抽筋是什么原因| 越五行属什么| 臭虫最怕什么| 格桑花是什么意思| 黄痰咳嗽吃什么药| 鹿查什么部首| 什么植物最好养| l代表什么| 13朵玫瑰代表什么意思| 玉米吃多了有什么坏处| 碳酸氢铵是什么东西| 莲雾吃了有什么好处| 做宫颈筛查能查出什么| 3月24日是什么星座| 阴蒂长什么样| 马蜂窝治什么病最好| foreplay是什么意思| 卵巢多囊是什么原因造成的| 吃什么能治疗早射| 青梅是什么意思| 玻尿酸是什么东西| 茵陈和什么泡水喝对肝脏最好| 乙肝表面抗原大于250是什么意思| 做梦捡到钱了什么预兆| 什么是靶向药| 孩子上吐下泻吃什么药| 婊子是什么| 安乐死是什么| 吃什么补血快| 脚板疼是什么原因| 为什么的拼音怎么写| 甲状腺球蛋白低说明什么| 周杰伦的粉丝叫什么| 亏空是什么意思| 细菌感染是什么原因| 目鱼和墨鱼有什么区别| 筋膜是什么| 父亲节要送什么礼物好| 吃什么补白细胞快| 母亲节要送什么礼物| 土鸡是什么鸡| 比萨斜塔为什么是斜的| 秉字五行属什么| 75c是什么罩杯| 治股癣用什么药最好| 十万个为什么儿童版| 萨满教供奉什么神| 天秤女和什么座最配对| 包粽子用什么米| 食品科学与工程学什么| 蹲久了站起来头晕是什么原因| 运字是什么结构| 白头发越来越多是什么原因| 天狗是什么意思| 湿疹是什么样子| 头皮屑多用什么洗发水效果好| 林黛玉和贾宝玉是什么关系| 反应迟钝是什么原因造成的| 性生活什么意思| 中元节是什么节| 月经褐色量少是什么原因| 狐狸和乌鸦告诉我们什么道理| 不想吃饭没胃口是什么原因| 自省是什么意思| 2.0是什么意思| 缱绻旖旎是什么意思| 眼睛出血什么原因| 梦见自己掉头发是什么征兆| 家财万贯是什么生肖| 清朝皇帝姓什么| 投行是做什么的| 什么是工科| 诸葛亮是什么星座| 女人梦见血是什么预兆| 胎记长什么样| 肺热吃什么中成药| 胃疼是什么症状| 宫腔回声不均匀什么原因| 孕晚期脚肿是什么原因| 口腔有异味是什么原因引起的| 兰州人为什么要戴头巾| 实体店是什么意思| 肠胃不好吃什么水果比较好| 福荫是什么意思| 打疫苗挂什么科| 九华山求什么最灵验| 白细胞十一是什么意思| 月经前腰疼的厉害是什么原因| 抵抗力差是什么原因| 五毒是什么| 阄是什么意思| ep病毒是什么| 生是什么结构的字| via什么意思| 免签国家是什么意思| 男人补锌有什么好处| 过敏性咳嗽吃什么药好| 西米是什么东西做的| 肝病初期有什么症状| 耳朵上长痘痘什么原因| 胃病四联疗法是什么药| 母是什么结构| 央企和国企有什么区别| 山梨酸是什么| 杯弓蛇影的寓意是什么| 宰相的宰最早指什么| 尿里有泡沫是什么原因| 睡莲为什么不开花| 速写男装属于什么档次| 吃什么补维生素D效果最好| 当医生要什么学历| 短杆菌是什么意思| 报单什么意思| silk是什么意思| 超声是什么检查| 碳足迹是什么| 梦见自己给自己理发是什么意思| 吃海参有什么功效| 乖巧是什么意思| 大腿内侧什么经络| 万圣节为什么要送糖果| 婚检检查什么项目| 尿酸高要注意什么饮食| 考试早餐吃什么| 试管进周期是什么意思| peace什么意思| 碱性水是什么水| 胎儿双侧肾盂无分离是什么意思| 北属于五行的什么| 宫颈糜烂用什么药好得快| 厄瓜多尔说什么语言| 婴儿足底采血查什么| 牛字旁与什么有关| 什么叫不动产| 眼泪为什么是咸的| 黄精长什么样| 气血不足吃什么水果| 亢奋是什么意思| 油边是什么肉| hmo是什么意思| igm是什么| 晕倒挂什么科| 师傅和师父有什么区别| 眩光是什么意思| 黑色水笔是什么笔| 百度
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

风什么浪什么 夜明珠是什么东西 风起云涌是什么生肖 什么是纯净物 皮肤溃烂化脓用什么药
小便黄是什么原因引起的 半夜吃东西有什么危害 风邪是什么 斋醮是什么意思 半夜饿是什么原因
8月开什么花 打喷嚏漏尿是什么原因 盐碱地适合种什么农作物 毒瘾为什么那么难戒 狗摇尾巴是什么意思
亨特综合症是什么病 体育生能报什么专业 翻墙是什么 什么叫磨玻璃结节 尿路感染吃什么药效果最好
兔子能吃什么水果sscsqa.com 月光族是什么意思啊wuhaiwuya.com 一拃是什么意思hcv9jop6ns0r.cn 大姨妈很多血块是什么原因hcv8jop0ns6r.cn 康字五行属什么hcv8jop6ns3r.cn
返利是什么意思hcv8jop8ns8r.cn 什么的花纹hcv9jop4ns7r.cn onlycook是什么牌子hcv8jop5ns8r.cn 寻麻疹看什么科qingzhougame.com 大便带血是什么原因hcv9jop1ns4r.cn
冰岛为什么不让随便去bjcbxg.com 刘备儿子叫什么hcv8jop1ns4r.cn 下体瘙痒用什么药hcv8jop8ns5r.cn 梦见嫂子是什么意思ff14chat.com 安娜苏香水什么档次hcv8jop8ns5r.cn
咽炎吃什么aiwuzhiyu.com 规格是指什么hcv7jop6ns2r.cn 异烟肼是什么药hcv8jop5ns3r.cn anti什么意思hcv8jop0ns4r.cn 衣原体感染是什么意思hcv8jop4ns6r.cn
百度