Articles → Numpy → Seed function in NumPy

Seed function in NumPy






Purpose




import numpy as np
import pandas as pd

np.random.rand(4)





Click to Enlarge



import numpy as np
import pandas as pd

np.random.seed(0) 
np.random.rand(4)





Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, April 10, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250