Book description
Python Tools for Scientists introduces you to the most popular coding tools for scientific research, such as Anaconda, Spyder, Jupyter Notebooks, and JupyterLab, as well as dozens of important Python libraries for working with data, including NumPy, matplotlib, and pandas. No prior programming experience is required.
You'll set up a professional programming environment, receive a crash course on programming with Python, and tour the many tools and libraries available for working with data, creating visualizations, simulating natural events, and more. In the book's applied projects, you'll use these tools to write programs that perform tasks like simulating globular star clusters, building ships for a wargame simulator, creating an interactive science slideshow, and classifying animal species.
You'll learn:
•The best way to set up your computer for science and engineering work with Python
•The basics of Python programming, including the language's syntax and best practices
•The purpose of dozens of Python's most popular scientific libraries, with deep dives into NumPy, matplotlib, seaborn, pandas, and scikit-learn
•How to choose the best plotting library for your needs
Even established scientists sometimes struggle to implement Python at work, partly because so many choices are available. This book guides you through the ecosystem of Python's libraries and tools, so you can find the ones best suited to your needs. Regardless of your field of study, Python Tools for Scientists is an indispensable owner's manual for setting up and using your computer for science.
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Dedication
- About the Author
- About the Technical Reviewer
- BRIEF CONTENTS
- CONTENTS IN DETAIL
- ACKNOWLEDGMENTS
- INTRODUCTION
- PART I: SETTING UP YOUR SCIENTIFIC CODING ENVIRONMENT
- 1 INSTALLING AND LAUNCHING ANACONDA
- 2 KEEPING ORGANIZED WITH CONDA ENVIRONMENTS
- 3 SIMPLE SCRIPTING IN THE JUPYTER QT CONSOLE
-
4 SERIOUS SCRIPTING WITH SPYDER
- Installing and Launching Spyder with Anaconda Navigator
- Installing and Launching Spyder Using the CLI
- Launching Spyder from the Start Menu
- Configuring the Spyder Interface
- Using Spyder with Environments and Packages
- Using Project Files and Folders
- The Help Pane
- The IPython Console
- The Editor Pane
- The Code Analysis Pane
- The Variable Explorer Pane
- The Profiler Pane
- The Debugger Pane
- Summary
- 5 JUPYTER NOTEBOOK: AN INTERACTIVE JOURNAL FOR COMPUTATIONAL RESEARCH
-
6 JUPYTERLAB: YOUR CENTER FOR SCIENCE
- When to Use JupyterLab Instead of Notebook?
- Installing JupyterLab
-
Building a 3D Astronomical Simulation
- Using Dedicated Project Folders
- The JupyterLab Interface
- The Menu Bar
- The Left Sidebar
- Creating a New Notebook
- Naming the Notebook
- Using Markdown Cells
- Adding Code and Making Plots
- Adding a Console
- Displaying an Image File
- Exploring the Simulation
- Opening Multiple Notebooks
- Saving the Workspace
- Clearing the Workspace
- Closing the Workspace
- Taking Advantage of the JupyterLab Interface
- Using the Text Editor
- Using JupyterLab Extensions
- Sharing
- Summary
- PART II: A PYTHON PRIMER
- 7 INTEGERS, FLOATS, AND STRINGS
- 8 VARIABLES
- 9 THE CONTAINER DATA TYPES
- 10 FLOW CONTROL
- 11 FUNCTIONS AND MODULES
- 12 FILES AND FOLDERS
- 13 OBJECT-ORIENTED PROGRAMMING
- 14 DOCUMENTING YOUR WORK
- PART III: THE ANACONDA ECOSYSTEM
- 15 THE SCIENTIFIC LIBRARIES
- 16 THE INFOVIS, SCIVIS, AND DASHBOARDING LIBRARIES
- 17 THE GEOVIS LIBRARIES
- PART IV: THE ESSENTIAL LIBRARIES
- 18 NUMPY: NUMERICAL PYTHON
- 19 DEMYSTIFYING MATPLOTLIB
- 20 PANDAS, SEABORN, AND SCIKIT-LEARN
- 21 MANAGING DATES AND TIMES WITH PYTHON AND PANDAS
- APPENDIX ANSWERS TO THE “TEST YOUR KNOWLEDGE” CHALLENGES
- INDEX
Product information
- Title: Python Tools for Scientists
- Author(s):
- Release date: January 2023
- Publisher(s): No Starch Press
- ISBN: 9781718502666
You might also like
book
Practical Data Science with Python
Learn to effectively manage data and execute data science projects from start to finish using Python …
book
Python for Data Science
Python is an ideal choice for accessing, manipulating, and gaining insights from data of all kinds. …
book
Python One-Liners
Python One-Liners will teach you how to read and write “one-liners”: concise statements of useful functionality …
book
Python for Geeks
Take your Python skills to the next level to develop scalable, real-world applications for local as …