Original notebook throws the following warning from InterpolateSample:
/home/downey/anaconda3/envs/ModSimPy/lib/python3.6/site-packages/ipykernel_launcher.py:26: DeprecationWarning: object of type <class 'numpy.float64'> cannot be safely interpreted as an integer.
Looks like this is fully deprecated in new versions, breaking the notebook. Casting row.freq to an int fixes the issue. Cells afterward then work as intended.
Should row.freq be rounded instead of truncated? I don't think so but I leave that decision to the experts.
Original notebook throws the following warning from
InterpolateSample
:Looks like this is fully deprecated in new versions, breaking the notebook. Casting
row.freq
to anint
fixes the issue. Cells afterward then work as intended.Should
row.freq
be rounded instead of truncated? I don't think so but I leave that decision to the experts.