mansenfranzen / pywrangler

Advanced data wrangling for python
https://github.com/mansenfranzen/pywrangler
MIT License
11 stars 4 forks source link

Fix broken API with memory_profiler #25

Closed mansenfranzen closed 4 years ago

mansenfranzen commented 4 years ago

Since version 0.56.0 of memory profiler the return value of memory_usage has changed. To make pywrangler work with all versions, check of number or iterable explicitly -> see here for more.

codecov[bot] commented 4 years ago

Codecov Report

Merging #25 into master will decrease coverage by 0.21%. The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage   96.87%   96.65%   -0.22%     
==========================================
  Files          22       22              
  Lines         864      867       +3     
  Branches      103      104       +1     
==========================================
+ Hits          837      838       +1     
- Misses         19       20       +1     
- Partials        8        9       +1
Impacted Files Coverage Δ
src/pywrangler/benchmark.py 94.11% <50%> (-1.58%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e34578e...1e8ca3f. Read the comment docs.