MaskedArray.tolist()

numpy.ma.MaskedArray.tolist

MaskedArray.tolist(fill_value=None) [source]

Return the data portion of the masked array as a hierarchical Python list.

Data items are converted to the nearest compatible Python type. Masked values are converted to fill_value. If fill_value is None, the corresponding entries in the output list will be 登录查看完整内容