[SciPy-User] [SciPy-user] Matching up arrays?
Fri Nov 19 11:30:31 CST 2010
On Thu, Nov 18, 2010 at 11:58 PM, mdekauwe <firstname.lastname@example.org> wrote:
> So I have 2 arrays which hold some data and for each array I have an array
> with the associated date stamp. The dates vary between arrays, so what I
> would like to be able to do is just subset the data so I end up with two
> arrays if there is a matching time stamp between arrays (with the idea being
> I would do some comparative stats on these arrays). How I solved it seems a
> bit ugly and I wondered if anyone had a better idea?
Put them in a record array and use rec join:
More information about the SciPy-User