Learn practical skills, build real-world projects, and advance your career
Created 5 years ago
import numpy as np
import pandas as pd
arr = np.random.rand(5,5)
np.random.randint(10,100,[5,5])
array([[88, 95, 93, 55, 73],
[90, 19, 90, 30, 11],
[60, 86, 96, 92, 46],
[37, 89, 34, 97, 49],
[58, 24, 55, 91, 88]])
arr = arr.astype(int)
pd.DataFrame(arr)