Half life

File “C:\ProgramData\Anaconda3\lib\site-packages\numpy\core_methods.py”, line 153, in _ptp
umr_maximum(a, axis, None, out, keepdims),

ValueError: zero-size array to reduction operation maximum which has no identity

This error occurs when you pass an empty array or has an empty dimension. Can you check the shapes of arrays?



If the issue persists, you can share your code to check further.