QuantEcon.py
QuantEcon.py copied to clipboard
Unify QuantEcon.py and QuantEcon.jl APIs?
One of the APIs that differ in julia and python versions is: tauchen.
Julia version is: Doc1
Python version is: Doc2
We can try to unify such APIs that differ in julia and python(like name of function arguments, position of parameters, etc.) which will help the users in migrating from one language to the other easily.
Some of the APIs are:
- [x]
tauchenandrouwenhorst(#664 ) - [ ]
markov_chain_object.Pvsmarkov_chain_object.p
Yes, that would be great @Smit-create . The tauchen one has always bothered me. This one might need unifying as well:
http://quantecon.github.io/QuantEcon.jl/latest/api/QuantEcon.html#QuantEcon.rouwenhorst
The only issue is that these are breaking changes, so we would need to coordinate changes on the lectures and any other downstream code (e.g., the DP textbook).
See also #363.
Thanks, @jstac and @oyamad. I have opened a PR to fix the same. Once that is merged in the master, I will then fix the lectures/dp_textbook code.
Thanks @Smit-create . The relevant PR is #664 . Is the idea to shift all Python to Julia equivalent?
@mmcky We will have to be careful with this issue since a number of the QE lectures use tauchen and perhaps rouwenhorst.
Another difference:
Python: markov_chain_object.P
Julia: markov_chain_object.p
Can you make the UserWarning to appear only once per session?