文件名称:
Beginning Python Visualization - Crafting Visual Transformation Scripts
开发工具:
文件大小: 2mb
下载次数: 0
上传时间: 2019-08-18
详细说明:Contents at a Glance
About the Author..................................................................xv
About the Technical Reviewer......................................................xvi
Acknowledgments...............................................................xvii
Introduction.............This book is dedicated to my wife, Orna vaingast
Contents at a glance
About the author
About the technical reviewer
Acknowledgments
Introduction
CHAPTER 1 Navigating the World of Data visualization
CHAPTER 2 The environment
31
CHAPTER 3 Python for Programmers
.53
CHAPTER 4 Data organization
101
CHAPTER 5 Processing Text Files
135
CHAPTER 6 Graphs and Plots
CHAPTER 7 Math Games
221
CHAPTER 8 Science and visualization
249
CHaPTER 9 Image Processing
285
CHAPTER 10 Advanced File Processing
319
APPENDIX Additional Source Listing
343
INDEX
349
Contents
About the auth
About the technical reviewer
Acknowledgments
Introduction
CHAPTER 1 Navigating the World of data visualization
Gathering data
Case Study GPS Data
Scanning serial ports
Recording GPS Data
Data Organization
File format
6
File Naming Conventions
.7
Data location
Data analysis
Walking Directories
8
Reading csv files
Analyzing GPS Data
Extracting GPS Data
14
Data visualization
17
GPS Location plot
18
Annotating the Graph
20
Velocity Plot
.22
Subplots
23
Text
23
Tying It All Together
Final notes and references
29
CONTENTS
chaPTer 2 The environment
31
Operating systems
....32
GNU/Linux
32
Windows
33
Choosing an operating system
....,35
Then Again, Why Choose? Using Several Operating Systems..36
The python Environment
37
Versions
37
Python
Python Integrated Development Environments
Scientific Computing
41
Plotting
.....42
Image Processing
43
Additional Python Packages
43
Installation Summary
Additional applications
45
Editors
A Short list of text editors
47
Spreadsheets
48
Word Processors
48
Image Viewers
49
Version Control Systems
49
Licensing
51
Final notes and references
.....52
CHAPTER 3 Python for Programmers
.53
What Is Python?
.53
Interactive Python
54
Invoking Python
54
Entering Commands
55
The Interactive Help system
56
Moving Around
57
Running scripts
Data Types
Numbers
Strings
Booleans
67
CONTENTS
Data structures
Lists
Tuples
72
Dictionaries
Sets
Variables
Statements
8
Printing
81
User Input
84
Comments
Flow control
Some built-in functions
92
Defining functions
.....93
Generators
94
Generator Expressions
Object-Oriented Programming
Modules and Packag
97
The import Statement
Modules Installed in a System
The dir statement
Final notes and references
ao
CHAPTER 4 Data Organization
....101
File Name conventions
102
Date and Time in a file Name
102
Useful file name titles
104
File Name extensions
104
In conclusion
Other schemes
107
File Formats
CSV File format
109
Binary Files
117
Readme files
123
INI Files
123
XML
125
Other File formats
Locating Data Files
126
Organization into Directories
126
Searching for Files
127
Indexing
CONTENTS
Catalogs
131
Files vs. a database
133
Final notes and references
....134
CHAPTER 5 Processing Text Files
135
Text and Strings
Splitting text
Joining strings
137
Converting Strings to Numbers
137
Find and replace
143
Stripping Strings
.144
String Formatting
145
String Conditionals
146
More on Strings
147
Files
147
Opening a file
147
Closing a file
Writing Text
148
Reading Text
149
Working with Text Files
150
Example: Character, Word, and Line Count
151
Example: head and tail
152
Example: Splitting and combining Files
153
EXample: Searching Inside a Text File
155
Example: Working with Comments
156
Example: Extracting Numbers from a Text File
.157
CSV Files
159
The csy module
159
The csv. reader Object
160
The csv. writer object
161
More csv Functionality
161
DictReader and DictWriter Objects
162
Date and Time
.163
Time module
164
The struct_time tuple
16
Parsing and Formatting Date and Time
165
The epoch:“ Linearizing” the time base
168
Additional time and date Functions
173
CONTENTS
X
Regular Expressions
Regular Expression Patterns
173
Special Sequences
Alternatives
175
Ranges
When to Use Regular Expressions
175
Internationalization and localization
176
cale
Unicode Strings
178
Final notes and references
chaPter 6 Graphs and plots
183
The Matplotlib Packag
183
Interactive Graphs vS Image Files
184
Interactive graphs
185
Saving Graphs to Files
187
Plotting Graph
189
Lines and markers
Plotting Several Graphs on One Figure
191
Line widths and marker sizes
192
Colors
193
Controlling the graph
194
Axis
194
grid and Ticks
195
Subplot
196
Erasing the Graph
197
Adding Text
197
Title
Axis Labels and legend
Text rendering
199
Mathematical Symbols and Expressions
More graph Types
201
Bar charts
201
Histograms
204
Pie charts
206
ogarithmic Plots
207
Polar plots
208
Stem Plots
209
Additional graphs
210
CONTENTS
Getting and setting values
213
Setting Figure and Axis Parameters
215
Patches
217
Example: Adding arrows to a Graph
218
Example: Some Other Patches
219
Final notes and references
220
CHAPTER 7 Math Games
...221
Modules math and cmath
221
Example: A Newton Fractal
224
Module random
228
Using random to Solve Probability Questions
229
Random sequences
232
Module NumPy
Array Creation
234
Slicing, Indexing, and Reshaping
235
N-Dimensional arrays
236
Math Functions
239
Array Methods and Properties
241
Other Useful Array Functions
....247
Final notes and references
247
CHAPTER 8 Science and visualization
249
Finding your Way variables and Functions
250
SciPy
250
Linear Algebra
251
Solving a System of Linear Equations
...251
Vector and Matrix Operations
252
Matrix Decomposition
253
Additional Linear Algebra Functionality
254
Numerical Integration
254
More Integration Methods
257
Interpolation and Curve Fitting
Piecewise Linear Interpolation
Polynomials
Jses of polynomials
Spline Interpolation
266
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.