[SciPy-User] SciPy-User Digest, Vol 83, Issue 36

பழநி சே palaniappan.chetty@gmail....
Tue Jul 20 12:02:30 CDT 2010


Thanks guys!

On Tue, Jul 20, 2010 at 1:00 PM, <scipy-user-request@scipy.org> wrote:

> Send SciPy-User mailing list submissions to
>        scipy-user@scipy.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mail.scipy.org/mailman/listinfo/scipy-user
> or, via email, send a message with subject or body 'help' to
>        scipy-user-request@scipy.org
>
> You can reach the person managing the list at
>        scipy-user-owner@scipy.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SciPy-User digest..."
>
>
> Today's Topics:
>
>   1. Re: pylab (Joshua Holbrook)
>   2. Re: pylab (Pierre GM)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 20 Jul 2010 08:27:28 -0800
> From: Joshua Holbrook <josh.holbrook@gmail.com>
> Subject: Re: [SciPy-User] pylab
> To: SciPy Users List <scipy-user@scipy.org>
> Message-ID:
>        <AANLkTiksLspZt6UOga4CyXuwFz8-EdasQiRBURVaPVoa@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Tue, Jul 20, 2010 at 8:17 AM,  <PHobson@geosyntec.com> wrote:
> >> -----Original Message-----
> >> From: scipy-user-bounces@scipy.org [mailto:scipy-user-bounces@scipy.org
> ]
> >> On Behalf Of Pierre GM
> >> Sent: Monday, July 19, 2010 5:05 PM
> >> To: SciPy Users List
> >> Subject: Re: [SciPy-User] pylab
> >>
> >>
> >> On Jul 19, 2010, at 7:59 PM, Benjamin Root wrote:
> >> > Btw, I would avoid using None as an empty value. ?NaNs might be
> better.
> >>
> >> Indeed, Ben, indeed. A None in a list as input of numpy.ma.array will
> >> give your array a 'object' dtype, which will probably not be what you
> >> expect.
> >> numpy.nans are an option if you deal with floats, not if you deal with
> >> integers...
> >> But keep in mind that whatever value you choose can be masked: check the
> >> masked_where function and similar, for example...
> >
> > Ben and Pierre,
> >
> > Thanks for the tips! Glad I chimed in here b/c I've definitely learned
> something. I'm often pulling data out from a database, so null records come
> back to me as None's. I'll be sure to set a CASE statement now that fills
> the NULLs in with an obviously junk value that I can mask from now on.
> >
> > -paul
> >
> > _______________________________________________
> > SciPy-User mailing list
> > SciPy-User@scipy.org
> > http://mail.scipy.org/mailman/listinfo/scipy-user
> >
>
> Why not user your None as said junk value?
>
> --Josh
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 20 Jul 2010 12:35:06 -0400
> From: Pierre GM <pgmdevlist@gmail.com>
> Subject: Re: [SciPy-User] pylab
> To: SciPy Users List <scipy-user@scipy.org>
> Message-ID: <52709C90-92EB-47EF-94E1-E8EE89A3A24B@gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> On Jul 20, 2010, at 12:27 PM, Joshua Holbrook wrote:
> >>>
> >>
> >> Ben and Pierre,
> >>
> >> Thanks for the tips! Glad I chimed in here b/c I've definitely learned
> something. I'm often pulling data out from a database, so null records come
> back to me as None's. I'll be sure to set a CASE statement now that fills
> the NULLs in with an obviously junk value that I can mask from now on.
>
> Well, depend on the kind of db you use. I have a piece of code somewhere
> that lets you get a MaskedArray or a TimeSeries from a SQLite db, there
> should be support for MaskedArray in pytables...
>
>
>
> ------------------------------
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>
> End of SciPy-User Digest, Vol 83, Issue 36
> ******************************************
>



-- 
Palani
Home: (708) 872-5264
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20100720/e339abec/attachment.html 


More information about the SciPy-User mailing list