Comments (5)
I need this feature desperately. I have been reading through the code base and
think I can implement it myself if I'm pointed in the right direction regarding
get_string. There are plenty of examples of adding options.
Original comment by [email protected]
on 10 May 2013 at 8:15
from prettytable.
This is a good suggestion! Many thanks.
I'll put this in the next release but if you want to hack it in yourself for
now, I would integrate it into the block of code starting at line 992 (in
trunk), with the commend "Add header or top of border" above it.
Original comment by [email protected]
on 10 May 2013 at 8:32
from prettytable.
I just started work on it. I'll submit a patch when I am done. get_html_string
will also need to be updated, it looks like.
Original comment by [email protected]
on 12 May 2013 at 11:46
from prettytable.
It is proving more difficult than I first anticipated. What's the proper way to
get the top rule shown in my diagram without introducing the column dividers?
And should we wrap the title or expand the size of the table? I would desire
the latter, but the former appears easier within the current code base.
Original comment by [email protected]
on 15 May 2013 at 3:18
from prettytable.
This is now implemented in trunk. Just do table.title = "My table" to set the
title. If the title is too long, the table size is expanded to accommodate.
Please feel free to test and give feedback.
Original comment by [email protected]
on 7 Oct 2013 at 8:48
- Changed state: Fixed
from prettytable.
Related Issues (20)
- how to display "ambiguous" width in chinese character?
- table.min_width is broken when using PLAIN_COLUMNS style HOT 2
- Field alignment error when using "blessings" module HOT 1
- Adding colors to column values messes up the spacing HOT 2
- Setting float_format in **kwargs does not actually affect output - confusing behavior HOT 1
- Permissions are incorrect HOT 1
- Add date formatting for datetime etc instances HOT 3
- In get_string, end is eval before sortby
- HTML output is lacking borders, alignment
- Cannot print unicode characters, for example: degree symbol °
- Pandas DataFrame Table Factory HOT 3
- Upload new version to pypi
- xterm reset escape sequence not filtered HOT 2
- Support large tables in output HOT 1
- Prettytable 0.7.2 does not handle rowspan correctly
- Creating a PrettyTable inside a for. HOT 1
- Project Future and Plans HOT 4
- Export project to Github (or other git hosting project) HOT 2
- Stretching columns when the data are longer than the header
- Options not actually used in formatting rows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prettytable.