How To Create Dataframe From Array In Python Code