Question: In [4]: 1. Create a numpy array from 1 to 15 (both inclusive), and make the numpy array as an array of float numbers.
![In [4]: 1. Create a numpy array from 1 to 15 (both](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2023/09/6500526038852_1694519890263.jpg)
In [4]: 1. Create a numpy array from 1 to 15 (both inclusive), and make the numpy array as an array of float numbers. Print the numpy array you have created. M [ 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.] 2. arange() or linspace() Create a 1-D numpy array of the integer values 2,5,8,11,14,17,20,23. You have to use either arange() or linspace() provided in numpy. Print the numpy array you have created. You should not use iteration in this question.
Step by Step Solution
3.34 Rating (154 Votes )
There are 3 Steps involved in it
below is numpy array with specific requirements impo... View full answer
Get step-by-step solutions from verified subject matter experts
