On Tue, Dec 14, 2010 at 12:20, Mark Janikas wrote:
> Hello All,
>
> I was wondering what the best way to trim an array based on some values I do
> not want…. I could use NUM.where or NUM.take… but let me give you an
> example:
>
> import numpy as NUM
>
> n = 100 (Length of my dataset)
> data = NU
Hello All,
I was wondering what the best way to trim an array based on some values I do
not want I could use NUM.where or NUM.take... but let me give you an
example:
import numpy as NUM
n = 100 (Length of my dataset)
data = NUM.empty((n,), float)
badRecords = []
for ind, record in enumerat