find_null.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:impyute 作者: eltonlaw 项目源码 文件源码
def find_null(data):
    """ Finds the indices of all missing values.

    Parameters
    ----------
    data: numpy.ndarray
        Data to impute.

    Returns
    -------
    List of tuples
        Indices of all missing values in tuple format; (i, j)

    """
    null_xy = np.argwhere(np.isnan(data))
    return null_xy
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号