Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Python Scientific Computing
  • Table Of Contents Toc
Mastering Python Scientific Computing

Mastering Python Scientific Computing

By : Kumar Mehta
4 (6)
close
close
Mastering Python Scientific Computing

Mastering Python Scientific Computing

4 (6)
By: Kumar Mehta

Overview of this book

In today's world, along with theoretical and experimental work, scientific computing has become an important part of scientific disciplines. Numerical calculations, simulations and computer modeling in this day and age form the vast majority of both experimental and theoretical papers. In the scientific method, replication and reproducibility are two important contributing factors. A complete and concrete scientific result should be reproducible and replicable. Python is suitable for scientific computing. A large community of users, plenty of help and documentation, a large collection of scientific libraries and environments, great performance, and good support makes Python a great choice for scientific computing. At present Python is among the top choices for developing scientific workflow and the book targets existing Python developers to master this domain using Python. The main things to learn in the book are the concept of scientific workflow, managing scientific workflow data and performing computation on this data using Python. The book discusses NumPy, SciPy, SymPy, matplotlib, Pandas and IPython with several example programs.
Table of Contents (12 chapters)
close
close
11
Index

General Python best practices

This section discusses some general best practices that should be followed by Python programmers:

  • The PEP 0008 style guide for Python code: The first best practice in this category is to clearly understand and follow PEP 0008. Refer to https://www.python.org/dev/peps/pep-0008/.
  • Naming convention: It is recommended to all coders that they follow a consistent and meaningful naming convention. This recommendation is helpful, not only to the original developers, but also to future developers who may work to enhance the system. Uniform and meaningful names improve the readability of code. The naming convention should follow a uniform naming scheme and adopt the recommended scheme for the specific language under use, for example, the use of underscores or camel case to join multiple words in a variable or function name. The following table represents the recommended names and the not-recommended names:

    Not recommended

    Recommended

    Variables:

    var1, var2, mycalculation...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Python Scientific Computing
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon