Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Introduction to NumPy | NumPy Basics
Ultimate NumPy
course content

Kursusindhold

Ultimate NumPy

Ultimate NumPy

1. NumPy Basics
2. Indexing and Slicing
3. Commonly used NumPy Functions
4. Math with NumPy

book
Introduction to NumPy

In order to feel confident and successfully complete this course, we strongly recommend you complete the following courses beforehand (just click on them to start):

In a world full of data, working with matrices and arrays is extremely important. That's where NumPy comes in handy. With its blazing speed and relatively easy-to-use interface, it has become the most used Python library for working with arrays.

Let's now discuss the speed of NumPy and where it comes from. Despite being a Python library, it is mostly written in C, a low-level language that allows for fast computations.

Another contributing factor to NumPy's speed is vectorization. Essentially, vectorization involves transforming an algorithm from operating on a single value at a time to operating on a set of values (vector) at once, which is performed under the hood at the CPU level.

Opgave

Swipe to start coding

To use NumPy, you should first import it, so import numpy using the alias np.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 1
toggle bottom row

book
Introduction to NumPy

In order to feel confident and successfully complete this course, we strongly recommend you complete the following courses beforehand (just click on them to start):

In a world full of data, working with matrices and arrays is extremely important. That's where NumPy comes in handy. With its blazing speed and relatively easy-to-use interface, it has become the most used Python library for working with arrays.

Let's now discuss the speed of NumPy and where it comes from. Despite being a Python library, it is mostly written in C, a low-level language that allows for fast computations.

Another contributing factor to NumPy's speed is vectorization. Essentially, vectorization involves transforming an algorithm from operating on a single value at a time to operating on a set of values (vector) at once, which is performed under the hood at the CPU level.

Opgave

Swipe to start coding

To use NumPy, you should first import it, so import numpy using the alias np.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 1
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt