Saltar navegación

Test your knowledge about NumPy

Test Your Knowledge

Pregunta

What function in NumPy is used to create an array of evenly spaced values within a specified range?

Respostas

`numpy.linspace`

`numpy.arange`

`numpy.random`

Retroalimentación

Pregunta

Which Pandas function is used to read a CSV file into a DataFrame?

Respostas

`pd.read_csv`

`pd.read_excel`

`pd.read_table`

Retroalimentación

Pregunta

In Matplotlib, which function is used to create a scatter plot?

Respostas

`plt.plot`

`plt.bar`

`plt.scatter`

Retroalimentación

Pregunta

What method would you use to get the summary statistics of a DataFrame in Pandas?

Respostas

`df.info()`

`df.describe()`

`df.summary()`

Retroalimentación

Pregunta

How do you calculate the mean of an array in NumPy?

Respostas

`np.mean(array)`

`np.median(array)`

`np.average(array)`

Retroalimentación

Feito con eXeLearning (Nova xanela)