[Numpy-discussion] Crosstabulation
Zachary Pincus
zachary.pincus at yale.edu
Wed Jul 14 14:42:49 EDT 2010
Hi Ionut,
Check out the "tabular" package:
http://parsemydata.com/tabular/index.html
It seems to be basically what you want... it does "pivot tables" (aka
crosstabulation), it's built on top of numpy, and has simple data IO
tools.
Also check out this discussion on "pivot tables" from the numpy list a
while ago:
http://mail.scipy.org/pipermail/numpy-discussion/2007-August/028739.html
One question -- what do you mean by "raster data"? In my arena, that
usually means "images"... and I'm not sure what a crosstabulation on
image data would mean!
Zach
On Jul 14, 2010, at 2:28 PM, Ionut Sandric wrote:
>
> Sorry, the first email was sent before to finish it...
>
>
> Hi:
>
> I have two raster data and I would like to do a crosstabulation
> between them and export the results to a table in a text file. Is it
> possible to do it with NumPy? Does someone have an example?
>
> Thank you,
>
> Ionut
>
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
More information about the NumPy-Discussion
mailing list