eland
eland copied to clipboard
Add TQDM progress bar for Jupyter Notebook pandas_to_eland() calls
- https://github.com/tqdm/tqdm#ipythonjupyter-integration
- Units are rows/s
- Maybe hide progress bar on completion? Need to test it out first.
- Add an option
show_progressbarwhich defaults toNone- If
Noneshow a progress bar only if we detect Jupyter Notebook - If
Falsedon't show a progress bar - If
Trueshow a progress bar only if we detect Jupyter Notebook (for now)
- If
I'll try to implement this and get a gif to show for you. 😬
@sethmlarson
I tried an example in jupyter notebook

Need suggestion on this:
-
from tqdm.notebook import tqdm=> It only works in jupyter notebook , not in jupyter lab, terminal
In jupyter lab, It throws the following:

I had the same scenario for from tqdm.auto import tqdm
Looks like there's already an issue in tqdm
Still currently exploring different options of tqdm 😄
My Queries are:
- Is it Ok, If we just do for jupyter notebook ?
- For testing this, Should I go with
pytest --nbvalto match the output?