<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 4, 2017 at 1:32 AM,  <span dir="ltr"><<a href="mailto:paul.carrico@free.fr" target="_blank">paul.carrico@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi Brian</p>
<p><br></p>
<p>First of all thanks for the answer, the explanations and the advices; as mentioned I've to think differently in order to code with efficiency.</p>
<p>1.: yes '<span>mat[:,0]=vect0' works fine and I understand why :-)</span></p>
<p><span>2. more generally, I've read some tutorials or presentations saying that Numpy is faster than the native Python; regarding the (huge) size of my matrices, vectorization, Numpy (and others) + optimzation of calls are the basics</span></p>
<p><span></span><span>Thanks</span></p>
<p><br></p></div></blockquote><div><br></div><div>Note that NumPy is not the best for large text files, for instance, pandas is faster.<br><br></div><div>Also note that the custom here is bottom posting.  And welcome to Python ;)<br><br></div><div><snip><br><br></div><div>Chuck<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"><p></p>
<p><span></span><span></span><br></p></div></blockquote></div></div></div>