韦编三绝什么意思| 表现优异是什么意思| 甲状腺球蛋白低说明什么| 鹅喜欢吃什么食物| 什么样属于轻度地包天| 感冒能吃什么水果| 海姆立克急救法是什么| 什么是肠息肉| 为什么尿有点偏红色| 血管属于什么组织| vsop是什么酒| 2月7号什么星座| 子宫前位后位有什么区别| 什么是潜意识| 活佛是什么意思呀| 爱而不得是什么感觉| dna是什么意思| 女人月经总是提前是什么原因| 中午吃什么不会胖| 串串房是什么意思| 没出息什么意思| 狗狗什么时候打疫苗| 伊始什么意思| 交通运输是干什么的| 什么时候吃榴莲最好| 脑梗吃什么药| 梅花鹿吃什么食物| 什么叫应激反应| 宫颈糜烂用什么药好得快| 12年是什么婚| 手筋痛是什么原因| 左眼皮一直跳什么原因| 莺是什么鸟| 埃及艳后叫什么| 5月25日什么星座| 全自动洗衣机不排水是什么原因| 春天都有什么花开| 女人多吃什么补黄体酮| 美国为什么打越南| 为什么会突然吐血| 舌头溃疡是什么原因造成的| 医生五行属什么| 鱼缸底部铺什么好| 什么是粉刺| 九月十二号是什么星座| 吃阿胶有什么好处| 营养不良吃什么| 正骨是什么意思| 微笑是什么意思| olay是什么牌子| 多吃蓝莓有什么好处| 乳酸杆菌大量是什么意思| 咽喉炎吃什么药好| 眼睛发黑是什么原因引起的| 有白带发黄是什么原因| 膀胱炎有什么症状| 大出血是什么症状| 拔指甲挂什么科| it是什么意思| 花椰菜是什么菜| 乙酸是什么| 什么样的树| c14呼气试验是检查什么的| 瑾字是什么意思| 验孕棒ct分别代表什么| 每天做梦是什么原因引起| 肠道功能紊乱吃什么药效果好| 什么是老年斑图片| 什么人不适合种植牙| 心脏跳的快吃什么药| 感激涕零什么意思| 不打破伤风针会有什么后果| 两点是什么时辰| 抛砖引玉什么意思| 非典是什么| 时蔬是什么菜| 白细胞高一点点是什么原因| 千丝万缕是什么意思| 淋巴清扫是什么意思| 布谷鸟长什么样| mm是什么单位| 下身灼热感什么原因| 咽喉炎吃什么药能治好| 小暑吃黄鳝有什么好处| 掌心有痣代表什么| 肚子饱胀是什么原因| 热伤风是什么意思| 效劳是什么意思| 小学教师需要什么学历| 锁水是什么意思| 血压低吃什么药| 茯苓和茯神有什么区别| 蹀愫女鞋什么档次| 香蕉人是什么意思| hpf医学是什么意思| 马齿苋与什么食物相克| _什么字| 骨扫描是检查什么| 长脚气是什么原因引起的| 大便暗红色是什么原因| 腰果是什么树的果实| 小学教师需要什么学历| 螃蟹一般吃什么| copd是什么意思| 肝癌是什么| 91视频是什么| 观赏是什么意思| 宝姿是什么档次的牌子| 吃什么东西能减肥| 什么药降肌酐最快最好| 吉利丁片是什么东西| 尿毒症是什么病| 什么是水象星座| 肠胃炎吃什么药好| 负压引流器有什么作用| 标准偏差是什么意思| 为什么会胃出血| 结节状高密度影是什么意思| 双克是什么药| 眼睛无神呆滞什么原因| 出恭什么意思| 焦糖色配什么颜色好看| 宫颈阳性是什么意思| 排卵期一般在什么时候| 七月二十五是什么星座| 为什么会有阴道炎| 分手送什么花| 11月14号什么星座| 鸟加衣念什么| 什么人容易得脑梗| 94年属什么今年多大| 翻版是什么意思| 猪脆肠是什么器官| 肾炎的症状是什么| 什么是精神出轨| bone什么意思| 儿童口腔疱疹吃什么药| 履历是什么意思| 男性雄激素低吃什么药| 胃经当令是什么时辰| 冰丝是什么材料| 三伏天吃什么对身体好| 经期吃什么水果比较好| 艾滋病一年有什么症状| 天蝎座女和什么星座最配| 老公护着婆婆说明什么| 上火喝什么比较好| 有氧运动和无氧运动有什么区别| 撇嘴表情什么意思| 末是什么意思| 男人性功能不好吃什么药| 心脏造影是什么意思| 大作是什么意思| 人为什么会过敏| 什么是码率| 头出汗多至头发湿透是什么原因| 黑客帝国4什么时候上映| 脖子后面正中间有痣代表什么| 3.8号是什么星座| 20分贝相当于什么声音| 骨头是什么垃圾| 吃什么降血糖| 余字五行属什么| 口腔溃疡用什么药最好| 吃鸡蛋胃疼是什么原因| 日行千里是什么生肖| 人大常委会主任是什么级别| 中医的望闻问切是什么意思| surprise是什么意思| 正剧是什么意思| 关节痛吃什么药| 病毒感冒吃什么消炎药| 红斑狼疮是什么引起的| 息肉是什么原因引起的| 怀孕拉肚子吃什么药| 凉皮加什么才柔软筋道| 酒精过敏吃什么药| 对称是什么意思| 肌酐高吃什么好| 猫为什么吃老鼠| 牛建读什么| 中项是什么意思| 冬日暖阳是什么意思| 无所不用其极是什么意思| 担是什么意思| 贫血应该吃什么| 冬天怕冷夏天怕热是什么体质| 巴扎是什么意思| 脚底板痒是什么原因| 做梦掉牙齿是什么意思周公解梦| 牙周炎吃什么药| 瓜皮什么意思| 进口二甲双胍叫什么| 变节是什么意思| 白细胞低吃什么药| 人中龙凤下一句是什么| sls是什么化学成分| 卯宴席是什么意思| 什么不可什么四字词语| barry什么意思| myp是什么意思| 肚脐眼位置疼是什么原因| qy是什么意思| 不眠之夜是什么意思| 丁未年五行属什么| 人为什么会打呼噜| 实性结节什么意思| 妇科活检是什么意思| 中分化是什么意思| 宝宝蛋白质过敏喝什么奶粉| 咖啡加牛奶叫什么| 蹭饭是什么意思| 肠胃湿热吃什么药好| 宝宝干咳吃什么药| 供奉观音菩萨有什么讲究| 什么样的人不能坐飞机| 儿童包皮手术挂什么科| 艾滋病早期有什么症状| 浪子回头是什么意思| 头皮屑挂什么科| 氯中毒吃什么可以解毒| 效劳是什么意思| 纳豆是什么味道| scj是什么意思| 哺乳期吃辣椒对宝宝有什么影响| 什么零食热量低有利于减肥| 牙龈为什么会萎缩| 三百年前是什么朝代| 炭疽是什么| 吃什么 长高| 喝什么茶对身体好| 容易感冒的人缺什么| 运是什么意思| 处女座属于什么星象| 高考是什么| 本命年为什么不能结婚| 寒食节是什么意思| 滑膜炎吃什么药| 独断万古是什么意思| 很会放屁是什么原因| 新鲜的乌梅长什么样| 鱼白是什么东西| 互为表里是什么意思| 阴虚内热是什么意思| 拉稀肚子疼吃什么药| 脸发麻是什么原因| spf50是什么意思| 舍是什么结构| 新疆人为什么不吃猪肉| prn是什么医嘱| 1月10号什么星座| 看手指甲挂什么科室| 权志龙为什么叫gd| 活珠子是什么| 什么是精神病| 营养过剩会导致什么| 小孩感冒流鼻涕吃什么药| 师范类是什么意思| 原住民是什么意思| 什么叫打气 是吸毒吗| 海棠花长什么样| 贪嗔痴是什么意思| 天灾人祸什么意思| 什么血型招蚊子咬| 百度
NumPy
The fundamental package for scientific computing with Python
NumPy 2.3.0 released!
2025-08-07
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

多囊是什么 盍是什么意思 盗墓笔记的结局是什么 什么是蛀牙 出处是什么意思
梦见梅花鹿是什么预兆 人格的核心是什么 螺蛳吃什么 小动脉瘤是什么意思 9d是什么意思
对偶是什么意思 意会是什么意思 双鱼座的幸运色是什么 儿童吃什么钙片补钙效果好 造口是什么意思
肺和大肠相表里是什么意思 病毒疣是什么 pc什么意思 埃及是什么人种 孙俪最新电视剧叫什么
吃饭不规律会导致什么问题hcv8jop0ns2r.cn 杭州菜属于什么菜系hcv8jop2ns3r.cn burberry是什么品牌hcv8jop3ns1r.cn 5月31号是什么星座hcv9jop0ns6r.cn 12月是什么月hcv7jop6ns4r.cn
otc代表什么hcv8jop8ns1r.cn 宫颈糜烂用什么药比较好hcv9jop5ns1r.cn 有眼不识泰山是什么意思hcv9jop2ns1r.cn 心慌什么原因引起的hcv9jop1ns7r.cn 榕字五行属什么hcv9jop7ns0r.cn
sahara是什么牌子hcv8jop5ns7r.cn 腿脚发麻是什么原因tiangongnft.com 恳谈会是什么意思hcv9jop5ns8r.cn 今夕何夕什么意思hcv9jop7ns3r.cn 守株待兔是什么意思hcv7jop9ns1r.cn
卡蒂罗属于什么档次hcv8jop4ns7r.cn 子宫前位和子宫后位有什么区别hcv9jop0ns8r.cn 芽孢是什么hcv9jop5ns8r.cn 牙龈肿胀吃什么药hcv8jop3ns6r.cn 可尔必思是什么饮料hlguo.com
百度