Single dispatch for democratizing data science tools
February 24, 2020
Imagine you had to implement some action across classes in 60 packages. You know what result you want, but may need to handle each class in a specific way.
For example,
Jupyter notebooks need to represent python classes as html. The broom package in R uses its tidy() function to summarize different statistical models. In this post I will discuss two approaches you could take to do this.
Class focused: have people define a specific method name on their classes.
...
Read more