[SciPy-Dev] New subpackage: scipy.data

Gael Varoquaux gael.varoquaux at normalesup.org
Thu Mar 29 16:38:48 EDT 2018


+1

On Thu, Mar 29, 2018 at 04:06:02PM -0400, josef.pktd at gmail.com wrote:
> I don't like the name scipy.data and would prefer something more
> explicit like scipy.datasets.

> 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

-- 
    Gael Varoquaux
    Senior Researcher, INRIA Parietal
    NeuroSpin/CEA Saclay , Bat 145, 91191 Gif-sur-Yvette France
    Phone:  ++ 33-1-69-08-79-68
    http://gael-varoquaux.info            http://twitter.com/GaelVaroquaux


More information about the SciPy-Dev mailing list