Python Tools for Scientists

An Introduction to Using Anaconda, JupyterLab, and Python's Scientific Libraries

Look inside
Paperback
$49.99 US
On sale Jan 17, 2023 | 744 Pages | 9781718502666

See Additional Formats
An introduction to the Python programming language and its most popular tools for scientists, engineers, students, and anyone who wants to use Python for research, simulations, and collaboration.

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.
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
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.

About

An introduction to the Python programming language and its most popular tools for scientists, engineers, students, and anyone who wants to use Python for research, simulations, and collaboration.

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.

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

Author

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.

Books for National Depression Education and Awareness Month

For National Depression Education and Awareness Month in October, we are sharing a collection of titles that educates and informs on depression, including personal stories from those who have experienced depression and topics that range from causes and symptoms of depression to how to develop coping mechanisms to battle depression.

Read more

Horror Titles for the Halloween Season

In celebration of the Halloween season, we are sharing horror books that are aligned with the themes of the holiday: the sometimes unknown and scary creatures and witches. From classic ghost stories and popular novels that are celebrated today, in literature courses and beyond, to contemporary stories about the monsters that hide in the dark, our list

Read more

Books for LGBTQIA+ History Month

For LGBTQIA+ History Month in October, we’re celebrating the shared history of individuals within the community and the importance of the activists who have fought for their rights and the rights of others. We acknowledge the varying and diverse experiences within the LGBTQIA+ community that have shaped history and have led the way for those

Read more