pbpython
pbpython copied to clipboard
Code, Notebooks and Examples from Practical Business Python
I think this fixes the problem of missing values. Is it correct way of handling missing values ? ``` def wavg(group, avg_name, weight_name): import numpy as np group=group[np.isfinite(group[avg_name])] # ignores...
hey @chris1610, great article and [notebook](https://github.com/chris1610/pbpython/blob/master/notebooks/Amortization-Corrected-Final.ipynb) on mortgage / ammortization. I noticed that you rounded the `np.pmt` which sometimes throws off the number of payments. for example I was doing...
For me this gives the unfortunate ImportError: cannot import name 'SignedJwtAssertionCredentials' as explained at https://stackoverflow.com/questions/14063124/importerror-cannot-import-name-signedjwtassertioncredentials However the proposed solution on SO i.e.pip install oauth2client==1.5.2 just gives me a later error:...
URLs have probably changed since.
I'm looking at the code you have and see it might be adapted, but I'm not sure how easy that will be done. :) When taking out a Certificate of...