how to make a dataframe from a numpy array code example Example: dataframe from arrays python import pandas as pd df=pd.DataFrame({'col1':vect1,'col2':vect2})