ENH: print large sequences like numpy if a limit is given

also adds a validator