import pandas as pd data = { "A":[1,2,3], "B":[4,5,6], "C":[7,8,9] } index = [1,2,3,4,5,6,7,8,9] pd.DataFrame(data=data, index=index)