-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
More (relevant) objects define __str__ for comfortable printouts #1518
Comments
👍 This could be a good newbie task for someone who wants to get experience in the codebase. |
@rhyolight I've made changes to one class. If this is the way to go, then I'll like to take up this issue |
I think it loos good! 👍 |
Yeah sure. :-) |
Way to go Abhinav. Maybe some day we'll see the HTM for stocks module in QuantConnect or Collective2. |
Sorry for being late with the PR. I have internal assessments going on at college as of now. Will submit the PR this weekend for sure. |
Implemented for some encoders now. Reopening for remainder + other classes (SP, ...) |
some classes define
dump()
,debug()
, orprettyprint()
for debugging, displaying the state of the object to human, others have nothing.Let's unify this to
def __str__(self)
which should be a human readable (distinguishable) repr. of the object. Good candidates are encoders, anomaly class implements it, SP/TP could too.This is more like a long-stretched task, if you see a good place, implement it 😈
The text was updated successfully, but these errors were encountered: