Hi Andrey,

I don't think this kind of formatting belongs in numpy: there is no
obvious correct way to display numbers in tabular form, and this just
invites a hard-to-maintain jungle of keyword arguments.  For instance, I
find lines in tables generally unnecessary, so they need to be optional.
But maybe vertical is OK?  What do you do for the case that the header
strings are longer than the numbers? Shorten, or expand the table?

Also there are questions about generalizing this to the types of arrays
numpy supports, e.g., higher dimensional arrays, and structured dtypes.

Overall, I think the general user is best off either simply write a
quick routine for their particular use case, or using one of the many
packages dedicated to tabular data.

All the best,

Marten

Андрей Рыбаков via NumPy-Discussion <numpy-discussion@python.org>
writes:

> I see that the examples were misformatted, here how they were intended to 
> look like.
>
> Best,
> Andrey
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3//lists/numpy-discussion.python.org
Member address: arch...@mail-archive.com

Reply via email to