Postgresql Row To Array Python Initialize Dataframe