bundles / numpy 2.4.4 / numpy / lib / _npyio_impl / _preprocess_comments
function
numpy.lib._npyio_impl:_preprocess_comments
source: /numpy/lib/_npyio_impl.py:839
Signature
def _preprocess_comments(iterable, comments, encoding)Summary
Generator that consumes a line iterated iterable and strips out the multiple (or multi-character) comments from lines. This is a pre-processing step to achieve feature parity with loadtxt (we assume that this feature is a nieche feature).
Aliases
numpy.lib._npyio_impl._preprocess_comments