DOC: make window function Returns strings consistent