From Excel to Python: Easily Process Excel Data with Python (2nd Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- Workplace professionals who frequently handle Excel reports and want to use scripts to replace repetitive manual operations
- Complete beginners with no programming background who want to enter Python through office scenarios
- Business analysts who need to connect Excel data to Pandas for further analysis
- Instructors responsible for internal office automation training who need an accessible textbook
Not a good fit for
- Programmers who already have a solid Python foundation and want to delve into the language's underlying mechanisms
- Computer science students who want to systematically study algorithms and data structures and prepare for technical interviews
- Readers who mainly use WPS or other spreadsheet software and do not plan to migrate to Python in the short term
Reading tips
- First set up the Python environment and an editor, and type out every chapter's code yourself; do not just read without practicing.
- Proceed in the order "basic syntax—openpyxl—Pandas"; skipping around makes it easy to get stuck at the comprehensive cases.
- Use a real spreadsheet of your own as practice material, and rewrite it as a script as you learn.
- When you hit an error, first review the "approach" part of the case, then check the code line by line.
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- 版权信息
- 内容简介
- 前言
- 第1章 Python基础——学习Python必知必会
- 1.1 什么是Python
- 1.2 为什么要学习使用Python处理Excel表格
- 1.3 手把手教你安装Python
- 1.4 安装Python集成开发工具PyCharm
- 1.5 Python的输出与输入
- 1.6 Python的代码注释
- 1.7 Python对象详解
- 1.8 Python中的数字与字符串
- 1.9 算术运算符
- 1.10 比较运算符
- 1.11 赋值运算符
- 1.12 逻辑运算符
- 1.13 成员运算符
- 1.14 格式化字符串
- 1.15 断点调试
- 第2章 Python库——第三方库的安装与学习
- 2.1 什么是模块、包、库
- 2.2 安装Excel读取库xlrd
- 2.3 导入xlrd模块
- 2.4 读取Excel工作簿、工作表信息
- 2.5 读取Excel行、列、单元格信息
- 2.6 安装Excel写入库xlwt
- 2.7 新建工作簿、新建工作表和将数据写入单元格
- 2.8 安装Excel修改库xlutils
- 2.9 修改工作簿、工作表、单元格
- 第3章 Python流程控制——循环语句与分支语句
- 3.1 for循环语句
- 3.2 while循环语句
- 3.3 if条件语句
- 3.4 if条件分支语句
- 3.5 if多条件分支语句
- 3.6 break语句
- 3.7 continue语句
- 第4章 Python有序对象——字符串处理技术
- 4.1 字符串切片
- 4.2 字符串统计
- 4.3 字符串查找
- 4.4 字符串替换
- 4.5 字符串的拆分与合并
- 第5章 Python有序对象——列表处理技术
- 5.1 列表的创建与删除
- 5.2 列表切片
- 5.3 列表元素的增加、删除和修改
- 5.4 列表操作符
- 5.5 列表推导式
- 5.6 列表的转换
- 5.7 常用列表统计方式
- 第6章 Python有序对象——元组处理技术
- 6.1 元组的创建与删除
- 6.2 元组的基本操作
- 6.3 常用元组统计函数
- 第7章 Python无序对象——字典处理技术
- 7.1 字典的基本操作
- 7.2 字典键值的增加、删除和修改
- 7.3 字典的转换
- 7.4 字典综合应用案例
- 第8章 Python无序对象——集合处理技术
- 8.1 集合的创建与删除
- 8.2 集合元素的添加与删除
- 8.3 集合之间的大小比较
- 8.4 集合的转换
- 8.5 集合的运算
- 8.6 集合运算应用案例
- 第9章 优化代码利器——Python自定义函数
- 9.1 自定义函数编写规范
- 9.2 必选参数的写法及应用
- 9.3 可选参数的写法及应用
- 9.4 关键字参数的写法及应用
- 9.5 不定长参数的写法及应用
- 9.6 匿名函数的写法及应用
- 9.7 将自定义函数存放在.py文件中
- 第10章 Python高阶函数——常用高阶函数应用
- 10.1 转换函数map
- 10.2 筛选函数filter
- 10.3 排序函数sort与sorted
- 第11章 优秀的Python第三方库——openpyxl库
- 11.1 安装openpyxl库
- 11.2 工作簿的基本操作
- 11.3 工作表的基本操作
- 11.4 单元格的基本操作
- 11.5 工作表的其他操作
- 第12章 Python与Excel结合使用——综合应用案例
- 12.1 综合应用案例1:自定义排序
- 12.2 综合应用案例2:按行各自排序法
- 12.3 综合应用案例3:整理不规范的数据
- 12.4 综合应用案例4:将一维表转换为二维表
- 12.5 综合应用案例5:根据业绩计算提成金额
- 12.6 综合应用案例6:查询业绩表中每个月的最高业绩记录
- 12.7 综合应用案例7:二维表的多种汇总方式
- 12.8 综合应用案例8:按多列分组汇总
- 12.9 综合应用案例9:多工作簿数据汇总
- 12.10 综合应用案例10:计划招生与实际招生对比
- 第13章 数据分析库——Pandas
- 13.1 安装Pandas库
- 13.2 Pandas对Excel数据的导入与导出
- 13.3 创建DataFrame表格
- 13.4 列操作
- 13.5 行操作
- 13.6 数据分支判断
- 13.7 数据迭代
- 13.8 聚合与分组
- 13.9 转换与合并
- 13.10 实例应用
FAQ
Can I read this book directly with absolutely no programming background?
Can the content in the book be used directly for everyday Excel report processing?
After finishing this book, do I still need to learn Pandas?
What is the difference between the second edition and the first edition, and do I need to buy the new edition?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Zeng Xianzhi is an author focusing on software-learning content. Public information about him is currently limited; it is known that he has two works in the catalog, including From Excel to Python: Easily Processing Excel Data with Python and its second edition. Judging from these titles, he pays attention to combining office software with programming tools, especially helping readers who are familiar with Excel use Python to improve data-processing efficiency and lower the barrier to moving from spreadsheet operations toward programming-based automation. His writing is application-oriented, taking concrete tools and operational scenarios as entry points, and belongs to the practical software-learning genre. Because more personal background is unavailable, no further introduction to his experience or identity can be given; readers may learn about his focus and style through the works mentioned above.
Zeng Zhiyong is an author of software-learning books for office settings, though public information about him is limited. His representative work, From Excel to Python: Handling Excel Data Easily with Python (2nd Edition), falls under software learning. The title shows its focus: helping ordinary Excel users make the transition to Python programming and process spreadsheet data programmatically, rather than teaching programming theory from scratch. Such books tend to emphasize practicality and hands-on operation, targeting people who need to batch-process, organize, and analyze data in daily office work, while lowering the barrier to learning. More public information about the author's writing style and background is unavailable, so no inferences are made about his life.