Filter Array Python Methods String