np.unique with return_inverse and axis not working as expected in multi-dimensional array
👀 Views: 2
💬 Answers: 1
📅 Created: 2025-06-06
numpy np.unique data-manipulation
I'm trying to use `np.unique` with the `return_inverse` parameter on a 2D NumPy array, but I'm getting unexpected results. My objective is to find the unique ro...