-
-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Allow use of longtable package in to_latex. #6617
Conversation
What's the difference in the last two Travis builds? How do you escape a backslash in a docstring with all the magic? |
|
||
`to_latex`-specific options: | ||
|
||
bold_rows : boolean, default True | ||
Make the row labels bold in the output | ||
longtable : boolean, default False | ||
Use a longtable environment instead of tabular. Requires adding | ||
a \\usepackage{longtable} to your LaTeX preamble. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jorisvandenbossche I think this is being interpreted as unicode in the doc-string, maybe use a r
as a raw string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can do one of both (result is the same I think), using r"""
of the double backslash. Seems only a problem with python 3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's equivalent. I just wasn't sure if the Appender magic decorator was doing this somehow. I didn't realize I had missed the other one.
pls add a release note (and mention in v0.14.0 if you think its warranted). otherwise ok |
Was hoping these were automatically linked now. Added. |
I don't like the auto-linking actually. It creates just about the same amount of work as you have to categorize in any event. |
merged via 98f51f5 |
It's really not more work, but I've already made my case for why it works with examples of it working elsewhere. |
if you want to implement it go for it. |
Yes, I probably will end up doing it when I have an afternoon. Here I was trying to alleviate the burden on occasional contributors. |
always a plus... |
No description provided.