<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 29 Jan 2020 at 09:34, Peng Yu <<a href="mailto:pengyu.ut@gmail.com">pengyu.ut@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Where it documented that pandas.read_csv don't generate the whole<br>
matrix? The return value is either of the two?<br></blockquote><div><br></div><div>It returns a 2D data structure as in the rows and columns of your CSV file - so the shape will be (3, n_entries). It doesn't try to interpret them as referring to entries in a matrix - you have to do that as a separate step.</div><div><br></div><div>It's probably not exactly documented like this, because documentation doesn't usually say what a function *doesn't* do, unless it's a very common confusion.</div><div><br></div><div>Thomas<br></div></div></div>