create pandas dataframe with random numbers

36

create pandas dataframe with random numbers -

#using numpy's randint
df = pd.DataFrame(np.random.randint(0,100,size=(15, 4)), columns=list('ABCD'))

Comments

Submit
0 Comments