-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add total
support to tqdm.pandas()
#535
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #535 +/- ##
=======================================
Coverage 99.41% 99.41%
=======================================
Files 8 8
Lines 681 681
Branches 118 118
=======================================
Hits 677 677
Misses 3 3
Partials 1 1 |
Fix #539 where `iterable is not None and not hasattr(iterable, "__len__")`
@chengs I don't think the warning is a good idea - if people specify their own |
thanks for the unit tests - I left them in. |
total
support to tqdm.pandas()
@casperdcl, about warning, OK. you make the final decision, so no warning then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two redundant lines, but it is ok
Redundant lines? Which ones? Are they still in |
@casperdcl no, the devel is good. Ok to go. |
@casperdcl

I think here it should be a warning, because normally total should be automatically computed by tqdm. and only a few cases need manually set total. Like this: