[Numpy-discussion] cp313 wheels on scientific-python-nightly-wheels/numpy
Hi all, in case you weren't aware there are now cp313 numpy nightly wheels available on https://anaconda.org/scientific-python-nightly-wheels/numpy. This should help with downstream testing pipelines. A. -- _ Dr. Andrew Nelson _ ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com
[Numpy-discussion] Adding bfill() to numpy.
Hello everyone, My colleague and I will be opening a Pull Request (PR) about adding bfill() (backward fill) function to NumPy. This function is designed to fill NaN values in an array by propagating the next valid observation backward along a specified axis. We believe this addition will be highly useful for data preprocessing and manipulation tasks. Here are some key points regarding our proposed implementation: Function Explanation: The bfill() function identifies NaN values in an array and replaces them by copying the next valid value in the array backwards. Users can specify the axis along which the filling should be performed, providing flexibility for different data structures. Use Cases: This function is particularly beneficial in time series analysis, data cleaning, and preparing datasets for machine learning models. We are looking forward to your feedback and suggestions. Thank you for your attention and we appreciate your support. Best regards, Raquel and Gonçalo ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com
[Numpy-discussion] Re: Adding bfill() to numpy.
On Mon, May 20, 2024 at 9:06 AM Raquel Braunschweig via NumPy-Discussion wrote: > > Hello everyone, > > My colleague and I will be opening a Pull Request (PR) about adding bfill() > (backward fill) function to NumPy. This function is designed to fill NaN > values in an array by propagating the next valid observation backward along a > specified axis. We believe this addition will be highly useful for data > preprocessing and manipulation tasks. This was proposed earlier this year in this issue: https://github.com/numpy/numpy/issues/25823 Take note of rkern's comment in that issue; I think most NumPy developers will agree with what he says there. Warren > > Here are some key points regarding our proposed implementation: > > Function Explanation: The bfill() function identifies NaN values in an array > and replaces them by copying the next valid value in the array backwards. > Users can specify the axis along which the filling should be performed, > providing flexibility for different data structures. > Use Cases: This function is particularly beneficial in time series analysis, > data cleaning, and preparing datasets for machine learning models. > > We are looking forward to your feedback and suggestions. > > Thank you for your attention and we appreciate your support. > > Best regards, > Raquel and Gonçalo > ___ > NumPy-Discussion mailing list -- numpy-discussion@python.org > To unsubscribe send an email to numpy-discussion-le...@python.org > https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ > Member address: warren.weckes...@gmail.com ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com
[Numpy-discussion] Re: Adding bfill() to numpy.
xarray has both bfill and ffill for DataArrays. The implementation useless bottleneck https://github.com/pydata/bottleneck. Le lun. 20 mai 2024, à 13 h 22, Warren Weckesser a écrit : > On Mon, May 20, 2024 at 9:06 AM Raquel Braunschweig via > NumPy-Discussion wrote: > > > > Hello everyone, > > > > My colleague and I will be opening a Pull Request (PR) about adding > bfill() (backward fill) function to NumPy. This function is designed to > fill NaN values in an array by propagating the next valid observation > backward along a specified axis. We believe this addition will be highly > useful for data preprocessing and manipulation tasks. > > > This was proposed earlier this year in this issue: > https://github.com/numpy/numpy/issues/25823 > > Take note of rkern's comment in that issue; I think most NumPy > developers will agree with what he says there. > > Warren > > > > > > Here are some key points regarding our proposed implementation: > > > > Function Explanation: The bfill() function identifies NaN values in an > array and replaces them by copying the next valid value in the array > backwards. Users can specify the axis along which the filling should be > performed, providing flexibility for different data structures. > > Use Cases: This function is particularly beneficial in time series > analysis, data cleaning, and preparing datasets for machine learning models. > > > > We are looking forward to your feedback and suggestions. > > > > Thank you for your attention and we appreciate your support. > > > > Best regards, > > Raquel and Gonçalo > > ___ > > NumPy-Discussion mailing list -- numpy-discussion@python.org > > To unsubscribe send an email to numpy-discussion-le...@python.org > > https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ > > Member address: warren.weckes...@gmail.com > ___ > NumPy-Discussion mailing list -- numpy-discussion@python.org > To unsubscribe send an email to numpy-discussion-le...@python.org > https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ > Member address: george.tro...@gmail.com > ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com
[Numpy-discussion] Re: Adding bfill() to numpy.
On Mon, May 20, 2024 at 1:17 PM george trojan wrote: > xarray has both bfill and ffill for DataArrays. The implementation useless > bottleneck https://github.com/pydata/bottleneck. > bottleneck would probably be a good home for these functions (though I don't speak for its maintainers). If it gets picked up by a bunch of other array implementations, then you can make a proposal to have them added to the Array API standard. numpy probably won't add them unless if that happens first. -- Robert Kern ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com