The Python Book
Discover the power of one of the fastest growing programming languages in the world with this insightful new resource
The Python Book delivers an essential introductory guide to learning Python for anyone who works with data but does not have experience in programming. The author, an experienced data scientist and Python programmer, shows readers how to use Python for data analysis, exploration, cleaning, and wrangling. Readers will learn what in the Python language is important for data analysis, and why.
The Python Book offers readers a thorough and comprehensive introduction to Python that is both simple enough to be ideal for a novice programmer, yet robust to be useful for those more experienced in the language. The book assists budding programmers to gradually increase their skills as they move through the book, always with an understanding of what they are covering and why it is useful. Used by major companies like Google, Facebook, Instagram, Spotify, and more, Python promises to remain central to the programming landscape for years to come.
Containing a thorough discussion of Python programming topics like variables, equalities and comparisons, tuple and dictionary data types, while and for loops, and if statements, readers will also learn: - How to use highly useful Python programming libraries, including Pandas and Matplotlib - How to write Python functions and classes - How to write and use Python scripts - To deal with different data types within Python
Perfect for statisticians, computer scientists, software programmers, and practitioners working in private industry and medicine, The Python Book will also be of interest to students in any of the aforementioned fields. As it assumes no programming experience or knowledge, the book is ideal for those who work with data and want to learn to use Python to enhance their work.
Discover the power of one of the fastest growing programming languages in the world with this insightful new resource
The Python Book delivers an essential introductory guide to learning Python for anyone who works with data but does not have experience in programming. The author, an experienced data scientist and Python programmer, shows readers how to use Python for data analysis, exploration, cleaning, and wrangling. Readers will learn what in the Python language is important for data analysis, and why.
The Python Book offers readers a thorough and comprehensive introduction to Python that is both simple enough to be ideal for a novice programmer, yet robust to be useful for those more experienced in the language. The book assists budding programmers to gradually increase their skills as they move through the book, always with an understanding of what they are covering and why it is useful. Used by major companies like Google, Facebook, Instagram, Spotify, and more, Python promises to remain central to the programming landscape for years to come.
Containing a thorough discussion of Python programming topics like variables, equalities and comparisons, tuple and dictionary data types, while and for loops, and if statements, readers will also learn: - How to use highly useful Python programming libraries, including Pandas and Matplotlib - How to write Python functions and classes - How to write and use Python scripts - To deal with different data types within Python
Perfect for statisticians, computer scientists, software programmers, and practitioners working in private industry and medicine, The Python Book will also be of interest to students in any of the aforementioned fields. As it assumes no programming experience or knowledge, the book is ideal for those who work with data and want to learn to use Python to enhance their work.
Table of Contents
1 Introduction 5
2 Equality and Comparison 15
3 Data Types 19
4 Dates 27
5 Lists 33
6 Tuples 45
7 Dictionaries 49
8 Loops, if, else and while 55
9 Assigning variables 71
10 Strings 77
11 Dealing with files 89
12 Functions and Classes 97
13 Numpy 117
14 Pandas 123
15 Advanced Pandas methods 151
16 Plotting 219