The idea is that you pass the class/function/attribute through a function and the result becomes the class/function/attribute.
As an example, if you make a @final decorator and have the code…
Continue reading “Decorators in TypeScript”
across this post and it quite literally blew my I recently came mind.
By importing everything from `IPython.html.widgets` you get an interact method. Any method that accepts parameters can be made interactive with sliders for values.
When experimenting with data, being able to change the values without changing code and re-running is a huge boon. Especially when looking for outlier thresholds. Instead of changing and re-running the graph every time, just add a slider and adjust until you have the value you want.
As I do a decent amount of experimentation with data, this will save me a large amount of time trying to figure out outliers. Will I use is for every project, no, but I will use it for the majority of data science I need to do.