Python Programming Project

Write a python code to create a dataframe using Series() function with appropriate headings such as Rollno, name and percentage from the list given below: ... Write a NumPy program to create a 3x3 identity matrix, i.e. diagonal elements are 1, the rest are 0. Replace all 0 to random number from 10 to 20. Ans: import numpy as np. Z = np.identity ... ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download