Commit 73d9894
fix: Handle inhomogeneous array shapes in to_arrays()
When arrays have different shapes, np.array(values, dtype=object) can
still fail due to numpy's broadcasting behavior. Instead, create an
empty object array and assign elements individually.
This matches v0.14.7 behavior where blobs were extracted from structured
arrays with object dtype columns.
Fixes #1380
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 39f4aa7 commit 73d9894
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
863 | | - | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
864 | 867 | | |
865 | 868 | | |
866 | 869 | | |
| |||
0 commit comments