vincentarelbundock · GitHub

@vincentarelbundock

Copy link Copy Markdown

Collaborator

A minor PR with some more modularization/simplification:

  • Removed duplicated code
  • Removed unused arguments
  • type_*() data preparation function are now stored in a dictionary with switch-style selection.

@vincentarelbundock

grantmcdermott

Copy link Copy Markdown

Owner

Choose a reason for hiding this comment

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

Very nice, thanks. One minor comment and then happy to merge.

@vincentarelbundock

Copy link Copy Markdown

Collaborator Author

thanks for the review. should be fixed now.

grantmcdermott

@grantmcdermott

@grantmcdermott

Copy link Copy Markdown

Owner

Not so minor in the end... thanks again for the continued efficiency gains!

@vincentarelbundock

Copy link Copy Markdown

Collaborator Author

no it really was minor. I just noticed that your suggestion could help us simplify something else too.

This was a simple PR, but I'll take the 35 lines of code removed :)

@vincentarelbundock

Read the original on github.com ↗