Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
What is NumPy? | Getting Started with NumPy
NumPy in a Nutshell
course content

Course Content

NumPy in a Nutshell

NumPy in a Nutshell

1. Getting Started with NumPy
2. Dimensions in Arrays
3. Indexing and Slicing
4. Important Functions

bookWhat is 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):

NumPy is one of the many modules in the Python programming language that allows you to work with arrays and matrices. Furthermore, this module comes equipped with a robust collection of mathematical functions for manipulating these arrays.

We must import this library to use it. Let's see how we do it:

The syntax for using a function from the library is as follows:

The alias should be used to simplify the use of this library. Let's see how we do it:

Here, 'np' is an alias. Therefore, in the future, when using functions from this library, we will do it like this:

Task
test

Swipe to show code editor

You need to import the NumPy library.

Carefully examine the example provided above and complete the task by filling in the blanks.

If you encounter any difficulties, refer to the hint; it will likely assist you.

Once you've completed this task, click the button below the code to check your solution.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 1
toggle bottom row

bookWhat is 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):

NumPy is one of the many modules in the Python programming language that allows you to work with arrays and matrices. Furthermore, this module comes equipped with a robust collection of mathematical functions for manipulating these arrays.

We must import this library to use it. Let's see how we do it:

The syntax for using a function from the library is as follows:

The alias should be used to simplify the use of this library. Let's see how we do it:

Here, 'np' is an alias. Therefore, in the future, when using functions from this library, we will do it like this:

Task
test

Swipe to show code editor

You need to import the NumPy library.

Carefully examine the example provided above and complete the task by filling in the blanks.

If you encounter any difficulties, refer to the hint; it will likely assist you.

Once you've completed this task, click the button below the code to check your solution.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 1
toggle bottom row

bookWhat is 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):

NumPy is one of the many modules in the Python programming language that allows you to work with arrays and matrices. Furthermore, this module comes equipped with a robust collection of mathematical functions for manipulating these arrays.

We must import this library to use it. Let's see how we do it:

The syntax for using a function from the library is as follows:

The alias should be used to simplify the use of this library. Let's see how we do it:

Here, 'np' is an alias. Therefore, in the future, when using functions from this library, we will do it like this:

Task
test

Swipe to show code editor

You need to import the NumPy library.

Carefully examine the example provided above and complete the task by filling in the blanks.

If you encounter any difficulties, refer to the hint; it will likely assist you.

Once you've completed this task, click the button below the code to check your solution.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

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):

NumPy is one of the many modules in the Python programming language that allows you to work with arrays and matrices. Furthermore, this module comes equipped with a robust collection of mathematical functions for manipulating these arrays.

We must import this library to use it. Let's see how we do it:

The syntax for using a function from the library is as follows:

The alias should be used to simplify the use of this library. Let's see how we do it:

Here, 'np' is an alias. Therefore, in the future, when using functions from this library, we will do it like this:

Task
test

Swipe to show code editor

You need to import the NumPy library.

Carefully examine the example provided above and complete the task by filling in the blanks.

If you encounter any difficulties, refer to the hint; it will likely assist you.

Once you've completed this task, click the button below the code to check your solution.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 1
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt