[Tutor] mapping/filtering a sequence

Wayne srilyk at gmail.com
Sat Sep 5 16:47:37 CEST 2009


On Fri, Sep 4, 2009 at 12:31 PM, kevin parks <kp8 at mac.com> wrote:

> I am doing some data massage, minor mapping and filtering really and i find
> that i have a lot of this kind of kludgy code:
> <snip>
> To do some basic jiggering of some out of range off grid data.
>
> There has to be a better, more elegant, more flexible less brute force more
> pythonic way to do this kind of mapping no?


Why is data being generated outside your grid? That's the first question you
should ask, and probably the better way to address the problem.

What are the available values for the grid? Are they flexible or permanent?
A bit more info would be helpful in finding a solution.

-Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090905/dbfff6f0/attachment-0001.htm>


More information about the Tutor mailing list