Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create pandas dataframe with random numbers

#using numpy's randint
df = pd.DataFrame(np.random.randint(0,100,size=(15, 4)), columns=list('ABCD'))
Source by www.interviewqs.com #
 
PREVIOUS NEXT
Tagged: #create #pandas #dataframe #random #numbers
ADD COMMENT
Topic
Name
3+7 =