Skip to content

Conversation

@attack68
Copy link
Contributor

@attack68 attack68 commented Feb 1, 2021

  • Ensure all linting tests pass, see here for how to run them

Styler has a mixture of function placements, e.g. outer scope, or as class methods or inner scope of class methods.

This PR has moved two outer scope functions to inner scope of class methods, where they are only used / relevant for that section, to be more consistent with the rest of the class.

@jreback
Copy link
Contributor

jreback commented Feb 1, 2021

i would rather go the other way. slimming the logic in the class and pulling out function to the module level scope.

@jreback jreback added Clean Styler conditional formatting using DataFrame.style labels Feb 1, 2021
@attack68
Copy link
Contributor Author

attack68 commented Feb 2, 2021

@jreback ok, ill close this and if I get a chance submit PRs that try to do that instead.

@attack68 attack68 closed this Feb 2, 2021
@attack68 attack68 deleted the styler_cln branch February 2, 2021 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Clean Styler conditional formatting using DataFrame.style

2 participants