Python Tools for Scientists Cover

Python Tools for Scientists

An Introduction to Using Anaconda, JupyterLab, and Python's Scientific Libraries
by Lee Vaughan
November 2022, 744 pp
ISBN-13: 
9781718502666
Lay-flat binding

Download Chapter 16: THE INFOVIS, SCIVIS, AND DASHBOARDING LIBRARIES

Look Inside!

Python Tools for Scientists back coverPython Tools for Scientists pages 14-15Python Tools for Scientists pages 176-177Python Tools for Scientists pages 422-423

Python Tools for Scientists will introduce you to Python tools you can use in your scientific research, including Anaconda, Spyder, Jupyter Notebooks, JupyterLab, and numerous Python libraries. You’ll learn to use Python for tasks such as creating visualizations, representing geospatial information, simulating natural events, and manipulating numerical data.

Once you’ve built an optimal programming environment with Anaconda, you’ll learn how to organize your projects and use interpreters, text editors, notebooks, and development environments to work with your code. Following the book’s fast-paced Python primer, you’ll tour a range of scientific tools and libraries like scikit-learn and seaborn that you can use to manipulate and visualize your data, or analyze it with machine learning algorithms.

You’ll also learn how to:

  • Create isolated projects in virtual environments, build interactive notebooks, test code in the Qt console, and use Spyder’s interactive development features
  • Use Python’s built-in data types, write custom functions and classes, and document your code
  • Represent data with the essential NumPy, Matplotlib, and pandas libraries
  • Use Python plotting libraries like Plotly, HoloViews, and Datashader to handle large datasets and create 3D visualizations

Regardless of your scientific field, Python Tools for Scientists will show you how to choose the best tools to meet your research and computational analysis needs.

Author Bio 

Lee Vaughan is a programmer, pop culture enthusiast, educator, and author of Impractical Python Projects and Real-World Python (No Starch Press). As a former executive-level scientist at ExxonMobil, he spent decades constructing and reviewing complex computer models, developed and tested software, and trained geoscientists and engineers.

Table of contents 

Introduction
Part 1: Setting up for Science
Chapter 1: Installing Anaconda and Launching Navigator
Chapter 2: Keeping Organized with Conda Environments
Chapter 3: Simple Scripting in Jupyter Qt Console
Chapter 4: Serious Scripting with Spyder
Chapter 5: Jupyter Notebook: An Interactive Journal for Computational Research
Chapter 6: JupyterLab: Your Center for Science
Part 2: Python Primer
Chapter 7: Integers, Floats, and Strings
Chapter 8: Variables
Chapter 9: The Container Data Types
Chapter 10: Flow Control
Chapter 11: Functions and Modules
Chapter 12: Files and Folders
Chapter 13: Object Oriented Programming
Chapter 14: Documenting your Work
Part 3: The Scientific and Visualization Libraries
Chapter 15: The Scientific Libraries
Chapter 16: The InfoVis and SciVis Visualization Libraries
Chapter 17: The GeoVis Libraries
Part 4: The Essential Libraries
Chapter 18: Numpy: Numerical Python
Chapter 19: Demystifying Matplotlib
Chapter 20: Pandas, Seaborn, and Scikit-learn
Chapter 21: Managing Dates and Times with Python and Pandas
Appendix A: Answers to the "Test your Knowledge" Challenges
 

View the Copyright page
View the detailed Table of Contents
View the Index

Reviews 

"Python Tools for Scientists helps people get up and running in Python so that they can start solving their problems right away instead of being daunted by the dizzying array of tools available in the ecosystem. I wish something like this had been available when I first picked up Python as a scientist!"
James Bednar, Director of Custom Services, Anaconda, Inc.

“Python has a wealth of scientific computing tools, so how do you decide which ones are right for you? This book cuts through the noise to help you deliver results."
—Serdar Yegulalp, InfoWorld

"The book “Python Tools for Scientists” by Lee Vaughan is a critical resource for anyone that is new to Python programming and intends to become a Python expert. It covers all of the critical topics in an easily understandable format and it goes deep enough to be helpful in navigating advanced topics. The book is also true to current Software Engineering standards and gives even new developers the tools to jump start their Python career."
— Dr. Alec Yasinsac, Department of Computer Science, University of South Alabama 

"I wish there was a book like this when I started learning Python...[Python Tools for Scientists] is a practical, detailed, hands-on introduction to setting up a local Python workspace and getting started with the basics of Python programming. It was written for scientists, by a scientist who knows what the typical problems are when scientists and engineers start using Python tools in their everyday work. It also introduces the wide variety of packages that can be used in scientific programming and provides guidelines on when to use them. Matplotlib, numpy, and pandas are covered in much more detail - as they should be. The writing and the organization of the material are clear and easy to follow. I have been using Python for many years, but I know I will be using this book both in teaching and research."
— Zoltán Sylvester, Senior Research Scientist, University of Texas at Austin

Updates 

View the latest errata.