Complete Python NumPy Tutorial in Hindi (With Notes)

所在平台: Udemy

课程主页: https://www.udemy.com/course/complete-python-numpy-tutorial-in-hindi-with-notes/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** 完整 Python NumPy 教程 (含笔记) **课程概览:** 本课程将深入介绍 NumPy,这是一个强大的 Python 库,专门用于处理数组。NumPy 提供了执行线性代数、傅里叶变换及矩阵运算的功能。由 Travis Oliphant 于 2005 年创建,NumPy 是一个开源且可免费使用的项目,其全称为“Numerical Python”。 **为何使用 NumPy?** Python 内置的列表(list)虽然可以充当数组的角色,但在处理速度上远不如 NumPy 数组。NumPy 的目标是提供一个性能更优的数组对象,其处理速度可达标准 Python 列表的 50 倍。NumPy 的核心是 `ndarray` 对象,它拥有众多便捷的辅助功能,极大地方便了数组操作。在数据科学领域,由于对速度和资源利用率的要求极高,数组的应用尤为广泛。 **NumPy 为何比列表更快?** NumPy 数组在内存中存储为连续的块,与 Python 列表(元素可分散存储)不同,这种连续性使得数据能够被高效地访问和处理。这一特性在计算机科学中被称为**引用局部性(locality of reference)**,是 NumPy 速度优势的关键所在。此外,NumPy 还针对现代 CPU 架构进行了优化。 **NumPy 的开发语言?** NumPy 是一个 Python 库,其代码部分由 Python 编写,但为了实现高性能计算,大部分核心部分则使用了 C 或 C++ 编写。 **NumPy 的代码库位置?** NumPy 的源代码可在 GitHub 上找到,地址为: github.com/numpy/numpy。

课程评论(0条)

课程详情

What is NumPy?NumPy is a Python library used for working with arrays.It also has functions for working in domain of linear algebra, fourier transform, and matrices.NumPy was created in 2005 by Travis Oliphant. It is an open source project and you can use it freely.NumPy stands for Numerical Python.Why Use NumPy?In Python we have lists that serve the purpose of arrays, but they are slow to process.NumPy aims to provide an array object that is up to 50x faster than traditional Python lists.The array object in NumPy is called ndarray, it provides a lot of supporting functions that make working with ndarray very easy.Arrays are very frequently used in data science, where speed and resources are very important.Why is NumPy Faster Than Lists?NumPy arrays are stored at one continuous place in memory unlike lists, so processes can access and manipulate them very efficiently.This behavior is called locality of reference in computer science.This is the main reason why NumPy is faster than lists. Also it is optimized to work with latest CPU architectures.Which Language is NumPy written in?NumPy is a Python library and is written partially in Python, but most of the parts that require fast computation are written in C or C++.Where is the NumPy Codebase?The source code for NumPy is located at this github repository github dot com/numpy/numpy

课程标签

0人关注该课程

主题相关的课程