I have created a 2D array with numpy and pandas as below:
import numpy as np
import pandas as pd 
data = np.array([['','A','B','C'],
            ['0','1','2','3'],
            ['1','4','5','6'],
            ['2','7','8','9']])
print(pd.DataFrame(data=data[1:,1:],
              index=data[1:,0],
              columns=data[0,1:]))
My question is that are there any other simpler way to create a 2D array in numpy and use pandas to put it into dataframe?

