Small-Bodies-Node / pds4_tools

Python package to read and display NASA PDS4 data.
17 stars 13 forks source link

Fix fill values for object-dtype fields in NumPy v1.24+ #72

Closed LevN0 closed 1 year ago

LevN0 commented 1 year ago

When a field with-in a record array has a dtype of object, NumPy used to assign it a string containing a question mark symbol as the default fill value. Now it does the same, but the question mark is part of a 0 dimensional array. This new behavior breaks our fill_value setting code, thus we make it work again with-in this PR.