Skip to content

REF: refactor/cleanup of CSSToExcelConverter #36576

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 17 commits into from
Sep 24, 2020

Conversation

ivanovmg
Copy link
Member

@ivanovmg ivanovmg commented Sep 23, 2020

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

Refactor/clean up of CSSToExcelConverter in module pandas.io.formats.excel.

  • Move class variables to the top of the class
  • Add font family mapping
  • Extract methods
  • Add missing typing
  • Make color parsing cleaner

@jreback jreback added IO Excel read_excel, to_excel IO HTML read_html, to_html, Styler.apply, Styler.applymap Output-Formatting __repr__ of pandas objects, to_string labels Sep 24, 2020
@jreback jreback added this to the 1.2 milestone Sep 24, 2020
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

nice!

@jreback jreback merged commit 5895978 into pandas-dev:master Sep 24, 2020
@ivanovmg ivanovmg deleted the refactor/excel branch October 4, 2020 13:24
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Excel read_excel, to_excel IO HTML read_html, to_html, Styler.apply, Styler.applymap Output-Formatting __repr__ of pandas objects, to_string
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants