We use cookies to give you a better experience. Carry on browsing if you're happy with this, or read our cookies policy for more information.

Skip main navigation

Week 2 summary

Short summary of week two.
© CC-BY-NC-SA 4.0 by CSC - IT Center for Science Ltd.
We hope that you have enjoyed the second week of Python in High Performance Computing!
This week, we have looked into NumPy arrays and how to use them for more efficient numerical calculations. By using fixed size, uniformly typed data arrays, it enables one to leverage the performance of optimised numerical libraries directly from Python.
By now, you should know how to create and manipulate NumPy arrays, how to do numerical calculations with them, and how to use simple vectorised operations. You should also understand the key differences, such as data layout in memory, between Python lists and NumPy arrays, as well as the memory consumption of temporary arrays and how to mitigate for it.
Next week, we will explore how to use static compiled code to speed things up in Python. Meanwhile, please discuss limitations of NumPy and answer the quiz in the remaining steps of this week.
© CC-BY-NC-SA 4.0 by CSC - IT Center for Science Ltd.
This article is from the free online

Python in High Performance Computing

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education