Closed ev-br closed 4 months ago
Only retry on a masked array if it actually has masked values.
Falls out for NumPy < 2.0 handling of stats.describe: otherwise the very presence of a masked array triggers an infinite loop terminating at the recursion limit.
Would be nice to cook up a test for this without using stats.describe directly. Some day.
stats.describe
Only retry on a masked array if it actually has masked values.
Falls out for NumPy < 2.0 handling of stats.describe: otherwise the very presence of a masked array triggers an infinite loop terminating at the recursion limit.