Greg JThe Best Kept Secret in PandasKeep your pandas pipeline tidy and readable with this simple trickAug 3, 2022Aug 3, 2022
Greg JUsing Class Weight to Compensate for Imbalanced DataDiscussion on performance metrics and ML techniques in the context of imbalanced data setsJul 30, 2022Jul 30, 2022
Greg JUsing Global Variables for Cleaner Python CodeHow to use global variables to tidy up python code and increase reusability, with example codeJun 30, 20221Jun 30, 20221
Greg JMaking a Python Package from a Private Bitbucket RepoI have some code I maintain as generic functions that I use throughout most of my Python files and notebooks. I have that code stored on a…Jun 29, 2022Jun 29, 2022
Greg JCleaner Python Code with PartialsI’ve been spending a lot of time lately trying to be lazy. It’s become my mantra as a data scientist: How can I do less work?Jun 29, 20224Jun 29, 20224
Greg JClean Up Your Python Code with DecoratorsEver find yourself copy and pasting a bunch of code all over your python file or notebook? Maybe you have a design pattern that requires a…Jun 28, 20223Jun 28, 20223
Greg JPython VM for Data Science: Part 1First of all, let’s cover why anyone would want to do such a thing in the first place.Oct 2, 2021Oct 2, 2021