import pandas as pd df = pd.DataFrame( { 'col1' : [1., 2., 3.] , 'col2' : [4., 5., 6.] } )
col1 col2 0 1.0 4.0 1 2.0 5.0 2 3.0 6.0