# import pandas library import pandas import numpy as np # create pandas DataFrame df = pandas.DataFrame(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]), columns=['a', 'b', 'c']) # print dataframe print(df)