Re: DeleteCases
- To: mathgroup at smc.vnet.net
- Subject: [mg123927] Re: DeleteCases
- From: Szabolcs <szhorvat at gmail.com>
- Date: Fri, 30 Dec 2011 07:09:08 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jdh6g8$km5$1@smc.vnet.net>
- Reply-to: comp.soft-sys.math.mathematica at googlegroups.com
You can use DeleteCases[data, {x_, y_} /; Abs[y] > 1] x_ will match anything, including a list (not just numbers).