Python Get Dimension Of Numpy Array To Dataframe