Improved Enum for Python

Improved Enum for Python

No alt text provided for this image

Sample code to demonstrate how to use some of added methods in Enumbase to write a command line declaration that is always in-sync with the actual code by using Enumbase.names().


Joonas J. Juvonen

Co-founder & CDAO | Neuroscience | DTx

3 年

Color scheme tickles my fancy

回复
Zach Wilson

DataExpert.io 创始人 | 高级数据工程师| 7年经验FAANG工程师

3 年

This is incredible! Thank you so much Manny!

回复

Sorry everyone this is not really a self contained tutorial.

要查看或添加评论,请登录

Manny Ko的更多文章

  • Claude Shannon

    Claude Shannon

    Well he only invented the whole 'entropy' thing. Started the field of Information Theory (Mutual-information…

    14 条评论
  • Accurate and fast PI in Python

    Accurate and fast PI in Python

    In my last article I show how to use numpy and numba to speed up a naive Monte Carlo method to compute PI. We managed…

    1 条评论
  • Numpy+numba for 20x in Python

    Numpy+numba for 20x in Python

    Method 1: Naive Monte-Carlo rejection sampling to compute PI - C/C++ style. I am using 10 million MC samples…

    24 条评论
  • 6th method for Pandas: swifter

    6th method for Pandas: swifter

    In my previous Pandas article I show 5 different ways to apply a heaverside() function to a small dataset of NY hotel…

    6 条评论
  • Pandas: 5 Very Different Performances, more than 2000x

    Pandas: 5 Very Different Performances, more than 2000x

    Our dataset consists of 1631 records for locations of hotels in New York. The above is the output from 5 different ways…

    12 条评论
  • Rotation Invariance in Neural Nets

    Rotation Invariance in Neural Nets

    A recent CVPR paper "Strike (with) a Pose:" very elegantly and forcefully demonstrate the importance of invariance in…

    8 条评论
  • Deep Image Prior

    Deep Image Prior

    We might be aware of recent amazing results of generative-networks being able to upsample a very low quality/low-res…

    1 条评论

社区洞察

其他会员也浏览了