Convert Dictionary To Array Python Definition