[Numpy-discussion] Help with np.where and datetime functions

John [H2O] washakie at gmail.com
Wed Jul 8 20:11:32 EDT 2009


Also, could someone please explain why:

Tsub = T[ (T[:,0]>t1) & (T[:,0]<t2) ]

Works, but:

Tsub = T[ (t1<T[:,0]) & (T[:,0]<t2) ]

Does not???

Thanks.

-- 
View this message in context: http://www.nabble.com/Help-with-np.where-and-datetime-functions-tp24389447p24401687.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.




More information about the NumPy-Discussion mailing list