[SciPy-Dev] New subpackage: scipy.data

Warren Weckesser warren.weckesser at gmail.com
Thu Mar 29 18:17:06 EDT 2018


On Thu, Mar 29, 2018 at 4:06 PM, <josef.pktd at gmail.com> wrote:

> I don't like the name scipy.data and would prefer something more
> explicit like scipy.datasets.
>
>

`datasets` is fine with me, and based on other responses so far, other
folks have either implicitly or explicitly endorsed it, so lets go with it.

Warren



> My first reaction to the proposal was that we get now a subpackage for
> functions to work with data.
>
> Like
> ndimage are functions for images
> signal are functions for signals
> spatial are functions for neighborhood
>
> and
> data are functions for data   (e.g. like pandas or similar)
>
> Josef
>
> On Thu, Mar 29, 2018 at 3:48 PM, Eric Larson <larson.eric.d at gmail.com>
> wrote:
> > Sounds like a good plan to me.
> >
> > If others agree, I propose that we make existing (and new) data
> available in
> > scipy.data for 1.1.0. Maybe a 2-release deprecation warning cycle before
> > removing them from `scipy.misc` (possibly for removing everything if we
> can
> > move the other remaining things, too)?
> >
> > Eric
> >
> >
> > On Thu, Mar 29, 2018 at 3:43 PM, Warren Weckesser
> > <warren.weckesser at gmail.com> wrote:
> >>
> >> According to the SciPy roadmap
> >> (https://github.com/scipy/scipy/blob/master/doc/ROADMAP.rst.txt#misc),
> >> `scipy.misc` will eventually be removed. Currently, the combinatorial
> >> functions and the image-related operations are all deprecated.  The only
> >> non-deprecated functions in `misc` are `central_diff_weights()`,
> >> `derivative()` and the two functions that return image data: `ascent()`
> and
> >> `face()`.
> >>
> >> As a steps towards the deprecation of `misc`, I propose that we create a
> >> new package, `scipy.data`, for holding data sets.  `ascent()` and
> `face()`
> >> would move there, and the new ECG data set proposed in a current pull
> >> request (https://github.com/scipy/scipy/pull/8627) would be put there.
> >>
> >> An early version of the roadmap suggested moving the images to
> >> `scipy.ndimage`, but that is no longer in the text.  I think a separate
> >> subpackage for data sets makes sense.
> >>
> >> What do you think?
> >>
> >> P.S. If there is already a similar proposal in the mailing list or on
> >> github, or any other older mailing list discussions related to this,
> let me
> >> know.
> >>
> >>
> >>
> >> _______________________________________________
> >> SciPy-Dev mailing list
> >> SciPy-Dev at python.org
> >> https://mail.python.org/mailman/listinfo/scipy-dev
> >>
> >
> >
> > _______________________________________________
> > SciPy-Dev mailing list
> > SciPy-Dev at python.org
> > https://mail.python.org/mailman/listinfo/scipy-dev
> >
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at python.org
> https://mail.python.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20180329/97273c0c/attachment.html>


More information about the SciPy-Dev mailing list