[Numpy-discussion] loadtxt/savetxt tickets

Stéfan van der Walt stefan at sun.ac.za
Tue Mar 29 18:16:04 EDT 2011


On Sun, Mar 27, 2011 at 12:09 PM, Paul Anton Letnes
<paul.anton.letnes at gmail.com> wrote:
> I am sure someone has been using this functionality to convert floats to ints. Changing will break their code. I am not sure how big a deal that would be. Also, I am of the opinion that one should _first_ write a program that works _correctly_, and only afterwards worry about performance.

While I'd agree in most cases, keep in mind that np.loadtxt is
supposed to be a fast but simpler alternative to np.genfromtxt.  If
np.loadtxt becomes much slower, there's not much need to keep these
separate any longer.

Regards
Stéfan



More information about the NumPy-Discussion mailing list