1import numpy as np
2import pandas as pd
3vect1=np.zeros(10)
4vect2=np.ones(10)
5df=pd.DataFrame({'col1':vect1,'col2':vect2})
1import pandas as pd
2
3data = {'First Column Name': ['First value', 'Second value',...],
4 'Second Column Name': ['First value', 'Second value',...],
5 ....
6 }
7
8df = pd.DataFrame (data, columns = ['First Column Name','Second Column Name',...])
9