dgorissen / pycel

A library for compiling excel spreadsheets to python code & visualizing them as a graph
GNU General Public License v3.0
565 stars 147 forks source link

Added RAND and RANDBETWEEN #151

Open jiboncom opened 2 years ago

jiboncom commented 2 years ago

Just a short PR to add the two basic random functions: RAND and RANDBETWEEN. I used numpy.random module to generate the random numbers so no further dependencies added.

Edit: No idea why the Python 3.7 build is failing. All other versions work ok. Seems to be an error while installing pyflakes but I didn't touch requirements.txt. Any ideas?

codecov-commenter commented 2 years ago

Codecov Report

Merging #151 (a5a6667) into master (6d587b3) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #151   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines         3774      3780    +6     
  Branches       954       954           
=========================================
+ Hits          3774      3780    +6     
Impacted Files Coverage Δ
src/pycel/excellib.py 100.00% <100.00%> (ø)

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 6d587b3...a5a6667. Read the comment docs.