Skip to main content

Getting Started with Scientific Python

  • Chapter
  • First Online:

Abstract

Python is fundamental to data science and machine learning, as well as an ever-expanding list of areas including cyber-security, and web programming. The fundamental reason for Python’s widespread use is that it provides the software glue that permits easy exchange of methods and data across core routines typically written in Fortran or C.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    Wheel files are a Python distribution format that you download and install using pip as in pip install file.whl. Christoph names files according to Python version (e.g., cp27 means Python 2.7) and chipset (e.g., amd32 vs. Intel win32).

  2. 2.

    See arrayobject.h in the Numpy source code.

  3. 3.

    You can also do this in the plain Python interpreter by doing import matplotlib;matplotlib.interactive(True).

  4. 4.

    Note this kind of on-the-fly memory extension is not possible in regular Numpy. For example, x = np.array([1,2]); x[3]=3 generates an error.

References

  1. T.E. Oliphant, A Guide to NumPy (Trelgol Publishing, 2006)

    Google Scholar 

  2. L. Wilkinson, D. Wills, D. Rope, A. Norton, R. Dubbs, The Grammar of Graphics. Statistics and Computing (Springer, Berlin, 2006)

    Google Scholar 

  3. F. Perez, B.E. Granger et al., IPython software package for interactive scientific computing. http://ipython.org/

  4. W. McKinney, Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython (O’Reilly, 2012)

    Google Scholar 

  5. O. Certik et al., SymPy: python library for symbolic mathematics. http://sympy.org/

  6. H.P. Langtangen, Python Scripting for Computational Science, vol. 3, 3rd edn. Texts in Computational Science and Engineering (Springer, Berlin, 2009)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Unpingco, J. (2019). Getting Started with Scientific Python. In: Python for Probability, Statistics, and Machine Learning. Springer, Cham. https://doi.org/10.1007/978-3-030-18545-9_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-18545-9_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-18544-2

  • Online ISBN: 978-3-030-18545-9

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics