Home >>> Courses >>> NumPy

What customers say ...


Good content, thorough explanation, and practice sessions. It will be useful in my day-to-day work. Thank you, Mike!!

Ameya Tipnis, QSpin Vlaanderen bvba about the course "Python for Programmers" more...


The course "Python for Scientists and Engineers" is a very useful introduction to Python programming for scientific applications ...

Dr. Mihai Duta, Oxford Supercomputing Centre, UK more...


A useful and quite comprehensive introduction to Python.

Emil Simon, Researcher about the course "Python for Scientists and Engineers" more...


I really liked the course since it offered a lot of information in a structured way. I especially found it helpful to see the different techniques "in action".

Alexander Bittner, gocept GmbH & Co. KG about the course "Python for Programmers" more...


Very competent trainer. Highly recommended training.

Raout Femmali, German Aerospace Stuttgart about the course "Python für Programmierer und Python für Wissenschaftler und Ingenieure" more...


Numerical Calculations with NumPy

Target Audience

The course targets medium level to experienced Python programmers who would like to work effectively with with numerical arrays. It is also appropriate for scientists and engineers who need to write numerical code.

Motivaton

The library NumPy is the defacto standard for the work with arrays and linear algebra. It provides array processing capabilities comparable with MATLAB and offers a high-level tool for efficient and convenient work with numerical data.

Content

Array-Construction and Array-Properties

There are different ways to construct arrays with numpy. Using examples the most useful way a certain purpose is demonstrated. The properties if of array objects are explained.

Data Types

In contrast to Python data types that are determined dynamically at run time, data types of numpy arrays have to be explicitly specified. This is one requirement to achieve the speed advantages of numpy compared to pure Python. There are considerably more data types in numpy than in Python. The course covers the usage of those data types and especially the correspondence with C data types.

Slicing and Broadcasting

The technique of slicing allows read and write access to arbitrary parts of arrays. Since it works with multidimensional arrays it often allows for short and elegant programs without loops. Experience shows that the first steps with slicing need getting used to it. Therefore, numerous exercises are included in the course to cover different types of applications.

The so called broadcasting is applied in NumPy if arrays with different shapes are used in computations. Missing parts of arrays are filled in if possible. A good understanding of this mechanism is a basic requirement for an effective work with NumPy.

Universal Functions

NumPy allows to apply many operations on whole arrays independent from their dimensions. Examples are use to demonstrate the usage of these universal functions.

Numerical Algebra

NumPy provides basic functionality for solving problems in numerical algebra. Examples are used to show its usage.

Working with Missing Values

Often some values in an array are missing or not valid for certain operations. NumPy offers masked and NA-masked arrays to handle these types of data. The course introduces these data structures and shows how to use them to work with real-life data.

Customizing Error Handling

Numerical errors such as division by zero, over and underflow or invalid floating point operations happen during calculations. NumPy offers a fine-grained approach to handle these types of errors without impacting the performance.

Testing Support

Testing is very important for code quality. NumPy includes helpers to write to test code. The course introduces to testing basics with NumPy.

Course Duration

1 day

Exercises

The participants can follow all steps directly on their computers. There are exercises at the end of each unit providing ample opportunity to apply the freshly learned knowledge.

Course Material

Every participant receives comprehensive printed materials that cover the whole course content as wells as all source codes and used software.



The Python Academy is sponsor of PyConIE 2017.

[PyConIE 2017]

The Python Academy is sponsor of EuroPython 2017.

[EuroPython 2017]

The Python Academy is sponsor of PyCon US 2017.

[PyCon US 2017]

The Python Academy is sponsor of PythonCamp Köln 2017.

[PythonCamp 2017]

The Python Academy is sponsor of Django Girls Leipzig 2016

[Django Girls Leipzig 2016]

The Python Academy is sponsor of PyCon DE 2016.

[PyCon DE 2016]

The Python Academy is sponsor of PyCon Ireland 2016.

[PyCon IE 2016]

The Python Academy is sponsor of EuroSciPy 2016.

[EuroSciPy 2016]

The Python Academy is sponsor of PyCon US 2016.

[PyCon US 2016]

The Python Academy is sponsor of PyData Berlin 2016.

[PyData Berlin 2016]

The Python Academy is sponsor of PyCon Sweden 2016.

[PyCon SE 2016]

The Python Academy is sponsor of Python Unconference 2015.

[PyUnconf 2015]

The Python Academy is sponsor of EuroSciPy 2015.

[EuroSciPy 2015]

The Python Academy is sponsor of EuroPython 2015.

[EuroPython 2015]

The Python Academy is sponsor of PyData Berlin 2015.

[PyData Berlin 2015]

The Python Academy is sponsor of PyCon Montréal 2015.

[PyCon Montréal 2015]

The Python Academy is sponsor of Python BarCamp Köln 2015.

[Python BarCamp 2015]https://www.euroscipy.org/2016/

The Python Academy is sponsor of Chemnitzer Linux-Tage 2015.

Chemnitzer Linux-Tage 2015 - 21. und 22. März 2015

The Python Academy is sponsor of Django Girls Wroclaw 2015.

[Django Girls Wroclaw 2015]

The Python Academy is sponsor of PyCon Ireland 2014.

[PyCon Ireland 2014]

The Python Academy is sponsor of EuroSciPy 2014.

[EuroSciPy 2014]

The Python Academy is sponsor of PyData London 2014.

[PyData London 2014]

The Python Academy is sponsor of EuroPython 2014.

[EuroPython 2014]

The Python Academy is sponsor of PyCon 2014 Montréal.

[PyCon 2014 Montréal]

The Python Academy is sponsor of Python BarCamp Köln 2014.

[Python BarCamp 2014]

The Python Academy is sponsor of PyConDE 2013.

[PyCon DE 2013]

The Python Academy is sponsor of EuroPython 2013.

[EuroPython 2013]

The Python Academy is sponsor of PyCon US 2013.

[PyCon US 2013]

The Python Academy is sponsor of EuroSciPy 2013.

[EuroSciPy 2013]

The Python Academy is sponsor of PyConPL 2012.

[PyCon PL 2012]

News


The next open cousers
details ...


Python Academy sponsors EuroPython conference 2013
details ...


Python Academy sponsors EuroSciPy conference 2013
details ...


Python Academy sponsors Python BarCamp in Cologne
details ...


Next Meeting of Leipzig Python User Group, November 12, 2013
details ...


Introduction to Django, November 11 - 13, 2013
details ...


Professional Testing with Python, November 25 - 27, 2013
details ...


Advanced Django, January 13 - 15, 2014
details ...


Python Academy sponsors PyCon US conference 2013
details ...


Python Academy founder receives PSF Community Service Award
details ...