Unexpected behavior when using np.concatenate with varying shapes in NumPy 1.24
👀 Views: 0
💬 Answers: 1
📅 Created: 2025-06-12
numpy concatenation shapes array
I'm trying to concatenate two 1D NumPy arrays of different shapes using `np.concatenate`, but I encounter an unexpected ValueError. I have the following code wh...