请选择 进入手机版 | 继续访问电脑版
楼主: kukenghuqian
1241 3

[书籍介绍] Foundations for Analytics with Python [推广有奖]

  • 5关注
  • 31粉丝

人间农夫

院士

12%

还不是VIP/贵宾

-

威望
0
论坛币
132134 个
通用积分
304.1792
学术水平
143 点
热心指数
172 点
信用等级
117 点
经验
55129 点
帖子
1377
精华
0
在线时间
2996 小时
注册时间
2012-9-27
最后登录
2024-3-17

kukenghuqian 发表于 2018-11-15 21:23:58 |显示全部楼层 |坛友微信交流群
相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

Clinton W. Brownley-Foundations for Analytics with Python_ From Non-Programmer t.pdf (17.2 MB, 需要: 10 个论坛币)



捕获.JPG

Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   ix
1. Python Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   1
How to Create a Python Script                                                                                         1
How to Run a Python Script                                                                                             4
Useful Tips for Interacting with the Command Line                                                    7
Python’s Basic Building Blocks                                                                                       11
Numbers                                                                                                                         12
Strings                                                                                                                             14
Regular Expressions and Pattern Matching                                                              19
Dates                                                                                                                               22
Lists                                                                                                                                 25
Tuples                                                                                                                             31
Dictionaries                                                                                                                   32
Control Flow                                                                                                                 37
Reading a Text File                                                                                                           44
Create a Text File                                                                                                           44
Script and Input File in Same Location                                                                     47
Modern File-Reading Syntax                                                                                      47
Reading Multiple Text Files with glob                                                                           48
Create Another Text File                                                                                              49
Writing to a Text File                                                                                                       52
Add Code to first_script.py                                                                                         53
Writing to a Comma-Separated Values (CSV) File                                                 55
print Statements                                                                                                                57
Chapter Exercises                                                                                                             58
2. Comma-Separated Values (CSV) Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  59
Base Python Versus pandas                                                                                             61
Read and Write a CSV File (Part 1)                                                                            62
How Basic String Parsing Can Fail                                                                             69
Read and Write a CSV File (Part 2)                                                                            70
Filter for Specific Rows                                                                                                    72
Value in Row Meets a Condition                                                                                73
Value in Row Is in a Set of Interest                                                                             75
Value in Row Matches a Pattern/Regular Expression                                             77
Select Specific Columns                                                                                                   79
Column Index Values                                                                                                   79
Column Headings                                                                                                         81
Select Contiguous Rows                                                                                                  83
Add a Header Row                                                                                                           86
Reading Multiple CSV Files                                                                                            88
Count Number of Files and Number of Rows and Columns in Each File           90
Concatenate Data from Multiple Files                                                                          93
Sum and Average a Set of Values per File                                                                     97
Chapter Exercises                                                                                                           100
3. Excel Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   101
Introspecting an Excel Workbook                                                                               104
Processing a Single Worksheet                                                                                     109
Read and Write an Excel File                                                                                    109
Filter for Specific Rows                                                                                              113
Select Specific Columns                                                                                             120
Reading All Worksheets in a Workbook                                                                     124
Filter for Specific Rows Across All Worksheets                                                     124
Select Specific Columns Across All Worksheets                                                    127
Reading a Set of Worksheets in an Excel Workbook                                                129
Filter for Specific Rows Across a Set of Worksheets                                              129
Processing Multiple Workbooks                                                                                  132
Count Number of Workbooks and Rows and Columns in Each Workbook     134
Concatenate Data from Multiple Workbooks                                                        136
Sum and Average Values per Workbook and Worksheet                                     138
Chapter Exercises                                                                                                           142
4. Databases. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  143
Python’s Built-in sqlite3 Module                                                                                  145
Insert New Records into a Table                                                                               151
Update Records in a Table                                                                                         156
MySQL Database                                                                                                            160
Query a Table and Write Output to a CSV File                                                      170
Update Records in a Table                                                                                         172
Chapter Exercises                                                                                                           177
5. Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   179
Find a Set of Items in a Large Collection of Files                                                      179
Calculate a Statistic for Any Number of Categories from Data in a CSV File       192
Calculate Statistics for Any Number of Categories from Data in a Text File        204
Chapter Exercises                                                                                                           213
6. Figures and Plots. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  215
matplotlib                                                                                                                        215
Bar Plot                                                                                                                         216
Histogram                                                                                                                    218
Line Plot                                                                                                                       220
Scatter Plot                                                                                                                   222
Box Plot                                                                                                                        224
pandas                                                                                                                              226
ggplot                                                                                                                               227
seaborn                                                                                                                             231
7. Descriptive Statistics and Modeling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   239

8. Scheduling Scripts to Run Automatically. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  261

9. Where to Go from Here. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  277
Additional Standard Library Modules and Built-in Functions                               278
Python Standard Library (PSL): A Few More Standard Modules                       278
Built-in Functions                                                                                                       279
Python Package Index (PyPI): Additional Add-in Modules                                    280
NumPy                                                                                                                         280
SciPy                                                                                                                             286
Scikit-Learn                                                                                                                 290
A Few Additional Add-in Packages                                                                         292
Additional Data Structures                                                                                           293
Stacks                                                                                                                            293
Queues                                                                                                                          294
Graphs                                                                                                                          294
Trees                                                                                                                              295
Where to Go from Here                                                                                                295
A. Download Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   299
B. Answers to Exercises. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   311
Bibliography. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  313
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   315


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Foundations foundation Analytics Analytic python

已有 1 人评分论坛币 收起 理由
zhou_yl + 40 精彩帖子

总评分: 论坛币 + 40   查看全部评分

本帖被以下文库推荐

军旗飞扬 发表于 2018-11-16 06:43:58 |显示全部楼层 |坛友微信交流群

使用道具

zhou_yl 发表于 2018-11-16 07:08:35 来自手机 |显示全部楼层 |坛友微信交流群
谢谢分享

使用道具

line_us 发表于 2018-11-16 18:53:06 |显示全部楼层 |坛友微信交流群
支持分享

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-3-29 00:57