Jan-09-2017, 09:05 AM
Please, use code tags in the future.
import pandas as pd web_stats={'Day':[1,2,3,4,5,6], 'Visitor':[43,34,65,56,29,76], 'Bounce Rate':[65,67,78,65,45,52]} df=pd.DataFrame(data=web_stats, columns=['Day', 'Visitor', 'Bounce Rate']) print(df.head())
Output: Day Visitor Bounce Rate
0 1 43 65
1 2 34 67
2 3 65 78
3 4 56 65
4 5 29 45