-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: adding __str__ and __repr__ methods to classes #114
Conversation
…RMA) also added str, repr, _repr_latex method to ARMA
Comments so far:
|
More comments:
|
The |
Given that you spent so much time on this code, I wanted to give you a chance to decide what should go into these method for the classes you wrote. Thus, I have left the following classes without these methods for now:
Please let me know if you would like to write these methods yourself if you want me to try to figure out something reasonable. Thanks! |
At this point we just need to implement the display methods for the classes indicated in the checklist in the previous comment to @davidrpugh . All other classes are ready to go. So, once we have finished with those, this PR should be ready to merge. |
@spencerlyon2 Thanks for the heads up. I will look at this later this evening. |
@spencerlyon2 I have committed the changes locally and pushed them to my fork of the |
Thanks for doing that! That's great The little note below your comment says I'll just pull changes down from your repo and push to this one. |
@spencerlyon2 Weird. I didn't see any such note. In any case I initially tried
this failed due to insufficient permissions. |
Also I haven't yet added anything to the |
I'm not sure you have push permissions to QuantEcon/QuantEcon.py, that might why that failed. It was the right idea though. If there really isn't any useful information to print for the ivp class you could leave it without a display method -- I'd be totally fine with that. |
@spencerlyon2 Re: Very good, thanks! |
@jstac I think this is ready. Feel free to merge when you have had a chance to look over it. |
This is really neat, thank you! |
This is not quite finished.
I am just opening this pull request so I can keep track of notes I collect as I go.
I will leave a comment saying it is ready to go at the appropriate time.