79262696

Date: 2024-12-08 14:57:44
Score: 2.5
Natty:
Report link

@Vladimir F Героям слава's post solved my problem. However, it posts a warning as following:

DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)

Haven't found a way to solve avoid this warning.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Vladimir
  • Low reputation (1):
Posted by: Tim Stark