Healthy Algorithms
Skip to content
  • Home
  • About
← Introducing Vivarium
To read: Building Sustainable Financing Structures for Population Health: Insights from Non-Health Sectors →
August 25, 2017 · 12:22 pm

Righter signatures in Jupyter

Did you know you can change the signature of functions dynamically in Python 3? It is a bit nasty, and maybe will make things look nicer for vivarium users.

Attempt: https://github.com/ihmeuw/vivarium/pull/2
Docs: https://docs.python.org/3/library/inspect.html#inspect.Signature
SO question that got me started: https://stackoverflow.com/a/33112180/1935494

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
Like Loading...

Related

Comments Off on Righter signatures in Jupyter

Filed under Uncategorized

Tagged as python

← Introducing Vivarium
To read: Building Sustainable Financing Structures for Population Health: Insights from Non-Health Sectors →

Comments are closed.

  • Posts

    • New year’s eve edition of JPC
    • AI for Interview Prep
    • AI in Epi 554 (parts 4 and 5 of 5)
  • aco ai ai4hm algorithms baby animals Bayesian books conference contest costs dataviz data viz disease modeling dismod diversity diversity club free/open source funding gaussian processes gbd global health health inequality health metrics health records idv IDV4GH ihme infoviz ipython iraq journal club machine learning malaria matching algorithms matchings MCMC media microsimulation mortality mpld3 my research Mysteries networks networkx optimization orms pandas privacy probability public health pymc pymc3 python random effects reading list reproducible research reproductive health research jobs seminar sklearn software carpentry spanning trees sparql statistics stats survey talks TCS teaching Theory Blogs travel tutorial va verbal autopsy vital registration
  • Theory Blogs

    • 0xDE (David Eppstein)
    • Computational Complexity (Lance Fortnow/Bill Gasarch)
    • In Theory (Luca Trevisan)
    • Luis von Blog (Luis von Ahn)
    • Machine Learning (Theory) (John Langford & others)
    • Micael Trick’s Operations Research Blog
    • My Slice of Pizza (Muthu)
    • Punk Rock Operations Research (Laura McLay)
    • Shtetl-Optimized (Scott Aaronson)
    • Structure and Strangeness (Aaron Clauset)
  • some rights reserved

    This material is released under the Creative Commons Noncommercial Attribution Share-Alike 3.0 License
  • Pages

    • About
  • August 2017
    M T W T F S S
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
    « Jun   Sep »
  • Archives

  • Meta

    • Create account
    • Log in
    • Entries feed
    • Comments feed
    • WordPress.com
Healthy Algorithms · A blog about algorithms, combinatorics, and optimization applications in global health informatics.
Blog at WordPress.com.
  • Reblog
  • Subscribe Subscribed
    • Healthy Algorithms
    • Join 181 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Healthy Algorithms
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d