IP-ASSIGNMENT-2 XII (DPS, DIGBOI)
Sign in to Google to save your progress. Learn more
Enter Name : *
Select Stream *
Enter mail ID ( Preferably Gmail ) *
Mobile No *
Write program based on NumPy array :
1. Write code to create a 1-dimensional array ranging from 2 to 10 and display the same.
2. Write code to assign 1-dimensional array with these elements [ 8, 5, 9, 3, 2, 4, 8, 7, 5, 1, 2, 9] and split it in 3 equal parts.
3. Create a 4x4 ndarray having values ranging from 0 to 15 (both inclusive).
4. Array1 = [ 2,5,4,8,7,9,10] and Array2=[6,4,9,8,1,2,4]. Write code to join Array1 and Array2 and print the same.
Captionless Image
Captionless Image
Captionless Image
8. What function can you use for joining two or more ndarrays ?
Captionless Image
Captionless Image
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy