Python fundamentals and basics of numpy

所在平台: Udemy

课程主页: https://www.udemy.com/course/python-fundamentals-ag/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程总结:Python 基础与 NumPy 入门** 本课程旨在教授 Python 编程语言的基础知识,并为学习 NumPy 库打下坚实基础,共分为六个章节。 **第一章:Python 基础数据结构** 本章重点介绍 Python 的核心数据结构,包括列表(lists)、字典(dictionaries)、元组(tuples)和字符串(strings)。此外,还将讲解 Spyder IDE 的安装与配置,以及 Python 解释器和集成开发环境(IDE)的使用。内容涵盖了这些数据结构的详细描述以及不同类型数据的切片(slicing)操作。 **第二章:NumPy 数组基础** 本章深入探讨 NumPy 库的核心——数组(arrays)。学习者将掌握如何访问、拼接(concatenation)数组元素,以及进行各种数组操作和创建特殊数组。多种数组切片方法也将被详细讲解。此外,本章还介绍如何以多种方式导入(importing)Python 库。 **第三章:NumPy 数组数学运算** 本章聚焦于 NumPy 数组的数学运算能力。内容包括数组的加法、减法、乘法、除法以及转置(transposition)操作。此外,还将展示逻辑运算符、搜索功能在数组中的应用。本章还介绍了多种数组生成(array generation)的方法,以及数组的取整(rounding)、排序(sorting)和查找极值(extreme values,即最小值和最大值)等操作。 **第四章:条件控制与循环** 本章讲解 Python 中的条件控制语句,包括 `if`、`elif` 和 `else` 的用法。同时,还将介绍循环结构,如 `while` 循环、`for` 循环,以及如何使用 `break` 和 `continue` 来控制循环流程。此外,异常处理机制(`try`/`except`)也是本章的重要内容。 **第五章:函数与模块** 本章侧重于 Python 中的函数(functions)和模块(modules)。学习者将学习如何声明和定义函数,以及如何调用带有默认值的函数。匿名函数(anonymous functions)也将被介绍。此外,本章还将讲解如何创建自定义模块以及使用和管理第三方包(packages)。 **第六章:面向对象编程(OOP)入门** 本章是面向对象编程(Object Oriented Programming - OOP)的初步介绍。重点讲解了特殊方法 `__main__` 和 `__self__` 的作用。学习者将掌握如何在类(class)中创建属性(attributes)、定义方法(methods),以及如何创建和使用 get 和 set 属性。

课程评论(0条)

课程详情

The course is describing Python fundamentals. It is divided into 6 chapters.Chapter 1 describes basic Python data structures, Spyder installation, interpreters and IDE that are used. There is detailed description about lists, dictionaries, tuple and strings. Also, slicing different types is described. Chapter 2 describes numpy arrays. Accessing array elements, array concatenation, operations with arrays and special arrays. Different methods of slicing arrays are described. Importing libraries with various options are also described. Chapter 3 describes mathematical operations with arrays. Addition, subtraction, multiplication, division, transposition with arrays is described. There are examples with logical operators and searching. Different methods of array generation are described, as well as rounding, sorting and extreme values (minimum and maximum).Chapter 4 describes conditional operations. Also, if/elif/else are described. while loops, break and continue, for loops, try/except are also part of the chapter 4.Chapter 5 describes functions and modules. In this chapter function declaration and definition is described, as well as calling the function with default value. Anonymous functions are described as well. Creating modules and usage of packages are described.Chapter 6 describes the basics about Object Oriented programming (OOP). Here special functions __main__ and __self__ are described. Creating attributes within the class, creating methods, creating get and set properties are also described.

课程标签

0人关注该课程

主题相关的课程