You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

476 B

This exercise is validated if the your_numpy_array is a NumPy array. It can be checked with type(your_numpy_array) that should be equal to numpy.ndarray. And if the type of is element are as follow.
Try and run the following code.
for i in your_np_array:
    print(type(i))

<class 'int'>
<class 'float'>
<class 'str'>
<class 'dict'>
<class 'list'>
<class 'tuple'>
<class 'set'>
<class 'bool'>
Does it display the right types as above?