Commit 28eb60e
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 a7733e3 commit 28eb60e
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
1022 | | - | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
1023 | 1026 | | |
1024 | 1027 | | |
1025 | 1028 | | |
| |||
0 commit comments