[Numpy-discussion] loadtxt/savetxt tickets

Stéfan van der Walt stefan@sun.ac...
Tue Mar 29 17:16:04 CDT 2011


On Sun, Mar 27, 2011 at 12:09 PM, Paul Anton Letnes
<paul.anton.letnes@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