Converting An Array To A Dataframe In Python