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