Idiot's guide to resource migration in Terraform
Sometimes we need to migrate resources that are managed in Terraform. Terraform is a declarative language to manage cloud infrastructure from code, which allows you to reliably automate your deployments and put your infrastructure configuration under version control. We call this Infrastructure as Code (IaC). When moving resources in your IaC, …
Version control on notebooks using pre-commit and Jupytext
Initializing nested lists correctly
Regular expressions with optional starting or ending groups
Stemming and lemmatizing with sklearn vectorizers
Applying operations on grouped dataframes in Pandas
Flatten nested lists with a list comprehension
Wrong feature preprocessing is a source of train-test leakage
Masking with Boolean arrays in Numpy
Site update: Breadcrumbs, taxonomies, paginators
Hugo template snippets of new website features
See archives for more ...