jeudi 7 décembre 2017

How to create data frame of random floating point numbers with Pandas

pd.DataFrame(np.random.randint(0,253,size=(253, 830)), columns=list_cols)

I used this for getting random integers but i needed floating point numbers instead. Any idea how?




Aucun commentaire:

Enregistrer un commentaire