<div dir="ltr">I noticed that genfromtxt() did not skip comments if the keyword names is not True. If names is True, then genfromtxt() would take the first line as the names. I am proposing a fix to genfromtxt that skips all of the comments in a file, and potentially using the last comment line for names. This will allow reading files with and without comments and/or names.<div>
<br></div><div>The difference is here: <a href="https://github.com/arkottke/numpy/compare/my-genfromtxt">https://github.com/arkottke/numpy/compare/my-genfromtxt</a></div><div><br></div><div style>Albert</div><div style><br>
</div><div style>p.s. insert some disclaimer about my first pull request</div></div>