Skip to content
#

SciPy

scipy logo

SciPy (pronounced “Sigh Pie”) is a Python-based ecosystem of open source software for mathematics, science, and engineering.

Here are 1,459 public repositories matching this topic...

Data science Python notebooks: Deep learning (TensorFlow, Theano, Caffe, Keras), scikit-learn, Kaggle, big data (Spark, Hadoop MapReduce, HDFS), matplotlib, pandas, NumPy, SciPy, Python essentials, AWS, and various command lines.

  • Updated Nov 4, 2021
  • Python
tomwhite
tomwhite commented Feb 6, 2022

What happened:

linspace gives a division by zero error, when NumPy returns an empty array on the same input.

What you expected to happen:

Behaviour the same as NumPy.

Minimal Complete Verifiable Example:

>>> import numpy as np
>>> np.linspace(0, 0, 0, endpoint=False)
array([], dtype=float64)
>>> import dask.array as da
>>> da.linspace(0, 0, 0, endpoint=F
rogerallen
rogerallen commented Feb 20, 2022

Description

Calling vectorize with a non-None value for the signature parameter outputs this error message about the excluded parameter.

NotImplementedError: cupy.vectorize does not support `excluded` option currently.

Inspecting the code, it is obvious there is a copy-paste error and the 2nd error message should be change excluded to signature.

https://github.com/cupy/c

verde
santisoler
santisoler commented May 11, 2021

Description of the desired feature

The spacing parameter of the rolling_window function controls the distance between the center of two adjacent windows.
Nevertheless, the docstring reads:

    spacing : float, tuple = (s_north, s_east), or None
        The window size in the South-North and West-East directions,
        respectively. A single value means that the size is equal 

Created by Travis Oliphant, Pearu Peterson, Eric Jones

Latest release 19 days ago

Repository
scipy/scipy
Website
www.scipy.org
Wikipedia
Wikipedia

Related Topics

python scikit