[sage-support] Basic Stats deprecated?

2022-02-25 Thread mat...@gmail.com
Mean, median and mode are now deprecated. E.g.: >median([1,2,3]) 2 :1: DeprecationWarning: sage.stats.basic_stats.median is deprecated; use numpy.median or numpy.nanmedian instead See https://trac.sagemath.org/29662 for details. But shouldn't these basic functions have some default functionalit

[sage-support] Re: Basic Stats deprecated?

2022-02-25 Thread Matthias Koeppe
If you consider numpy an obscure library, it may be that your syllabus needs updating On Friday, February 25, 2022 at 10:52:19 AM UTC-8 mat...@gmail.com wrote: > Mean, median and mode are now deprecated. E.g.: > > >median([1,2,3]) > 2 :1: DeprecationWarning: sage.stats.basic_stats.median is dep

Re: [sage-support] Re: Basic Stats deprecated?

2022-02-25 Thread William Stein
In fairness, "Mission: Creating a viable free open source alternative to Magma, Maple, Mathematica and Matlab." What do Maple and Mathematica do regarding having a median top level command? Also, if you want to argue that users should explicitly import everything... that's an interesting an valua

[sage-support] Re: Basic Stats deprecated?

2022-02-25 Thread Kwankyu
> > But shouldn't these basic functions have some default functionality? > +1 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@google

Re: [sage-support] Re: Basic Stats deprecated?

2022-02-25 Thread Matthias Koeppe
On Friday, February 25, 2022 at 8:32:39 PM UTC-8 wst...@gmail.com wrote: > Also, if you want to argue that users should explicitly import > everything... No, that's not what I'm arguing. The deprecation of the basic_stats module happened because Sage has nothing to offer in this area; it's a