[SciPy-User] [SciPy-user] Matching up arrays?

Jose Gomez-Dans jgomezdans@gmail....
Fri Nov 19 05:18:11 CST 2010


On 19 November 2010 05:58, mdekauwe <mdekauwe@gmail.com> wrote:

> Hi,
> 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).

You can use the python sets module (<
An example of how it would work on your example looks like this:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20101119/a6199d62/attachment.html 

More information about the SciPy-User mailing list