Make an array from [2, 4, 6, 8]. Print the array, then print its dtype. A Python list has no dtype. An array does.
Data analysis labNumPy problems
Problem 1 of 50 · Create arrays · Easy
Build an array from a list
Turn a Python list into an array and print its dtype.
Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.
1
Your solution
2