Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Theoretical Questions | NumPy
Data Science Interview Challenge
course content

Contenu du cours

Data Science Interview Challenge

Data Science Interview Challenge

1. Python
2. NumPy
3. Pandas
4. Matplotlib
5. Seaborn
6. Statistics
7. Scikit-learn

book
Theoretical Questions

1. What will the following code output:

2. What does the following code do:

3. How can you extract all items from a NumPy array that are greater than 5?

4. What is the result of the following:

5. If arr is a 1-dimensional NumPy array, what will arr[::2] do?

6. Which of the following will raise an error?

7. How do you calculate the dot product of two arrays a and b?

8. How do you get the unique values from a NumPy array arr?

9. Which method can be used to find the indices of non-zero elements in a NumPy array?

What will the following code output:

What will the following code output:

Sélectionnez la réponse correcte

What does the following code do:

What does the following code do:

Sélectionnez la réponse correcte

How can you extract all items from a NumPy array that are greater than 5?

How can you extract all items from a NumPy array that are greater than 5?

Sélectionnez la réponse correcte

What is the result of the following:

What is the result of the following:

Sélectionnez la réponse correcte

If `arr` is a 1-dimensional NumPy array, what will `arr[::2]` do?

If arr is a 1-dimensional NumPy array, what will arr[::2] do?

Sélectionnez la réponse correcte

Which of the following will raise an error?

Which of the following will raise an error?

Sélectionnez la réponse correcte

How do you calculate the dot product of two arrays `a` and `b`?

How do you calculate the dot product of two arrays a and b?

Sélectionnez quelques réponses correctes

How do you get the unique values from a NumPy array `arr`?

How do you get the unique values from a NumPy array arr?

Sélectionnez la réponse correcte

Which method can be used to find the indices of non-zero elements in a NumPy array?

Which method can be used to find the indices of non-zero elements in a NumPy array?

Sélectionnez la réponse correcte

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 6
We're sorry to hear that something went wrong. What happened?
some-alt