Programming

  • Regular expressions with optional starting or ending groups
  • Stemming and lemmatizing with sklearn vectorizers
  • Applying operations on grouped dataframes in Pandas
  • Zip is its own inverse
  • Flatten nested lists with a list comprehension
  • Masking with Boolean arrays in Numpy
  • Site update: Breadcrumbs, taxonomies, paginators
  • Secondary sorting in Python
  • Hugo template snippets of new website features
  • Two methods for exporting EPUB annotations (.annot)
  • Selecting user commands in style (Python)
  • Object Orientation: Observer Pattern
  • Object Orientation: Strategy Pattern
  • Calculating pi with Monte Carlo simulation