import pandas as pd data = { 'calories':[420,380,390], 'duration':[50,40,45]} df = pd.DataFrame(data)print(df)
Standard input is empty
calories duration 0 420 50 1 380 40 2 390 45
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!