Python数据分析与可视化应用
本店经营正版图书 两天左右发货 如果有着急发货的请不要下单
¥
30.68
5.2折
¥
59
全新
库存11件
作者唐艺
出版社电子工业出版社
出版时间2022-05
版次1
装帧其他
上书时间2024-12-18
商品详情
- 品相描述:全新
图书标准信息
-
作者
唐艺
-
出版社
电子工业出版社
-
出版时间
2022-05
-
版次
1
-
ISBN
9787121434372
-
定价
59.00元
-
装帧
其他
-
开本
16开
-
页数
264页
-
字数
440千字
- 【内容简介】
-
本书结合作者多年工程和实践经验,从Python 基础编程语法入手,系统介绍了基于Python 语言进行数据处理、分析与可视化展示所需的各项知识和技术。读者无须特别的数学或统计方面的理论知识,只需理解数据分析的思路,就可以参考示例学会针对实际问题进行有效数据分析的步骤和方法。 本书分4 篇共20 章,主要内容涉及Python 基本语法、程序控制结构、函数、面向对象基础、文件操作、标准库、正则表达式、numpy 库、pandas 库、数据预处理、matplotlib 可视化图表、seaborn可视化图表、pyecharts 可视化图表、SciPy 科学计算、共享自行车案例及在线销售案例。
- 【作者简介】
-
唐艺,助理研究员,长期从事计算机应用、信息系统的教学与科研工作,作为课题负责人申报省部级课题10余项。
- 【目录】
-
篇 Python 基础
第1 章 Python 概述 ······················.2
1.1 Python 简介 ······························.2
1.1.1 Python 的起源 ··················.2
1.1.2 Python 的发展 ··················.2
1.2 Python 解释器 ···························.3
1.2.1 安装Python 解释器 ···········.3
1.2.2 交互运行模式 ··················.4
1.2.3 命令行运行模式 ···············.4
1.3 集成开发环境PyCharm ················.5
1.3.1 安装PyCharm ··················.5
1.3.2 创建项目 ························.7
1.3.3 创建并运行Python 文件 ·····.8
第2 章 Python 编程基础 ················10
2.1 常量和变量 ·······························10
2.1.1 常量和变量的定义 ············10
2.1.2 变量命名规则 ··················10
2.2 简单数据类型 ···························.11
2.2.1 数值类型 ·······················.11
2.2.2 字符串 ···························12
2.2.3 None ·····························13
2.2.4 布尔类型 ························14
2.2.5 数据类型转换 ··················14
2.3 算术运算 ··································15
2.4 赋值运算符 ·······························16
2.5 字符串相关运算 ·························17
2.5.1 字符串连接运算 ···············17
2.5.2 字符串截取 ·····················18
2.6 输出 ········································18
2.6.1 print 函数的基本用法 ········19
2.6.2 print 函数格式化输出 ········20
2.7 输入 ········································23
2.8 程序注释 ··································23
第3 章 程序控制结构 ····················25
3.1 选择结构 ··································25
3.1.1 条件表达式 ·····················25
3.1.2 单分支结构if 语句············27
3.1.3 二分支结构if-else 语句 ······27
3.1.4 多分支结构if-elif-else语句 ······························29
3.2 循环结构 ··································31
3.2.1 for 语句实现遍历循环 ········31
3.2.2 while 语句实现条件循环 ····33
3.2.3 循环结构中的else 语句 ······35
3.2.4 break 语句和continue语句 ······························36
第4 章 组合数据类型 ····················39
4.1 列表 ········································39
4.1.1 列表的表示与访问列表元素 ······························39
4.1.2 遍历列表 ························40
4.1.3 添加列表元素 ··················42
4.1.4 删除列表元素 ··················44
4.1.5 列表排序 ························45
4.2 元组 ········································46
4.3 字典 ········································47
4.3.1 创建字典 ························48
4.3.2 添加和删除键值对 ············49
4.3.4 遍历字典 ························49
4.3.5 字典嵌套 ························50
第5 章 函数 ································52
5.1 函数的定义和调用 ······················52
5.2 函数参数传递 ····························54
5.3 列表作为函数参数 ······················57
5.3.1 简单数据类型参数传递值 ···························57
5.3.2 组合数据类型参数公用存储空间 ··················57
5.3.3 组合数据类型的数据作为函数参数的应用 ·········58
5.4 模块 ········································59
5.4.1 创建模块 ························59
5.4.2 导入模块 ························60
第6 章 类和对象 ··························63
6.1 类和对象的概念 ·························63
6.2 定义只具有方法的类和对象 ··········64
6.2.1 定义类 ···························64
6.2.2 实例化对象 ·····················65
6.3 对象初始化方法及属性 ················66
6.3.1 对象初始化方法_ _init_ _() ······················66
6.3.2 定义类的属性 ··················66
6.3.3 访问对象属性 ··················67
6.3.4 输出对象的描述信息 ·········68
6.3.5 封装性 ···························69
6.4 类和对象应用实例 ······················69
6.5 类的继承 ··································70
6.5.1 继承的定义 ·····················70
6.5.2 _init_ _() 方法的继承 ·······72
6.5.3 重写父类方法 ··················73
第7 章 文件操作 ··························74
7.1 基本操作 ··································74
7.2 打开文件 ··································75
7.2.1 文件指针 ························75
7.2.2 打开方式 ························76
7.3 读取文件 ··································77
7.4 写入文件 ··································78
7.4.1 使用write() 方法向文件中写入内容 ························78
7.4.2 使用write() 方法向文件中追加内容 ························79
7.5 读写CSV 文件 ··························80
7.5.1 读取数据 ························80
7.5.2 写入数据 ························81
第8 章 常用Python 标准库 ············83
8.1 datetime 模块 ·····························83
8.1.1 date 类 ···························83
8.1.2 time 类 ···························86
8.1.3 datetime 类 ······················86
8.1.4 timedelta 类 ·····················87
8.1.5 时间转化 ························88
8.1.6 设置日期时间格式 ············88
8.2 math 模块 ·································89
8.3 random 模块 ······························90
8.4 os 模块 ····································92
第二篇 数 据 分 析
第9 章 正则表达式 ·······················98
9.1 正则表达式中的元字符 ················98
9.1.1 主要元字符
点击展开
点击收起
— 没有更多了 —
以下为对购买帮助不大的评价