#13131: Make a top-level table/Table function
----------------------------------+-----------------------------------------
Reporter: kcrisman | Owner: was
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.7
Component: user interface | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Jason Grout, Karl-Dieter
Crisman
Authors: John Palmieri | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Changes (by kcrisman):
* status: needs_review => needs_work
* reviewer: => Jason Grout, Karl-Dieter Crisman
Comment:
Some dumb questions.
* ` elif header_row is not False:` why not just ` elif header_row`?
Presumably a Python subtlety.
* Do we need something in `html.table()` (what remains of it) to change
it so that the previous behavior of a single list giving a column and not
a row is preserved? I know you removed the example, but technically
speaking one should deprecate this...
* Is there an extra
{{{
self._options['header_column'] = header_column
}}}
in there? It should be set already above that.
* I don't see any error catching. This is particularly important in
making sure someone doesn't (contra the doc, but still) try to add in a
header row later on via `header_row=[1,2,3]` and in making sure that the
table is, in fact, a rectangle. I think that for sanity, especially with
very large tables, this would be helpful to have this error instead of
who-knows-what-crazy-error Sage would raise otherwise.
* Feature request; take a list of lists and just fill in the rest! I had
to make my own code for this in some sense, filling in empty slots, if I
recall correctly. But presumably this is like the list in comment:2 and
for a future ticket.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13131#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.