Answer the question
In order to leave comments, you need to log in
How to properly test the code?
Good evening!
While reading the code and thinking about how to test it, I came across this:
import pandas as pd
start = # ... pd.Series
a = # ... pd.Series
b = # ... pd.Series
# ...
var min_div = a.min().div(b.min())
var avg_div = a.avg().div(b.avg())
# ...
return min_div, avg_div
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question