Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create df from two arrays

a = np.random.rand(5)
b = np.sqrt(a)
df = pd.DataFrame({'a':a, 'b':b})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #df #arrays
ADD COMMENT
Topic
Name
6+7 =