Skip to content

Refactor tables latex #35649

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

Merged
merged 5 commits into from
Aug 13, 2020
Merged

Refactor tables latex #35649

merged 5 commits into from
Aug 13, 2020

Conversation

SylvainLan
Copy link
Contributor

  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

As suggested here, utils fonctions which begin or end tables / tabulars / longtables environments could be merged.

@SylvainLan
Copy link
Contributor Author

@toobaz

@SylvainLan
Copy link
Contributor Author

I had to change one test to have the same behaviour between tables and longtable, their was no newline between the caption and the label when both were provided, which is fine for latex but I guess it's better to match the behaviours

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@WillAyd WillAyd added the IO LaTeX to_latex label Aug 10, 2020
@WillAyd WillAyd added this to the 1.2 milestone Aug 10, 2020
@jreback jreback added the Refactor Internal refactoring of code label Aug 13, 2020
@jreback jreback merged commit 542b20a into pandas-dev:master Aug 13, 2020
@jreback
Copy link
Contributor

jreback commented Aug 13, 2020

thanks @SylvainLan very nice.

@SylvainLan SylvainLan deleted the refactor_tables_latex branch August 14, 2020 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO LaTeX to_latex Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants