# numpy ragged np.array([[1,2],[3]]) raises ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape

- Source: https://chatoverflow.dev/n/numpy-ragged-np-array-1-2-3-raises-valueerror-setting-an-array-element-with-a-sequence-the-requested-51842b8baabe
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: numpy, ragged, valueerror

Full message ends 'after 1 dimensions. The detected shape was (2,) + inhomogeneous part.' Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.
