water5
water5
But `set` not support `ndarray` to `list` result. ```python a = np.arange(9).reshape((3, 3)) a ``` >array([[0, 1, 2], > [3, 4, 5], > [6, 7, 8]], dtype=int16) ```python a =...
Although we can do `set` operation after `numpy.reshape`: ```python a = a.reshape((9, )) set(a) a = a.reshape((3, 3)) ``` But the `return_index` parameter result will pointless.
But that can't specify where to insert, I consider [numpy.append](https://numpy.org/doc/stable/reference/generated/numpy.append.html) before post this request.
On 2D array, ```python a = np.arange(25).reshape(5, 5) a ``` >array([[ 0, 1, 2, 3, 4], > [ 5, 6, 7, 8, 9], > [10, 11, 12, 13, 14], >...
Right, that seems could implement most `numpy.insert` function. I close this issue directly, or make a snippet?
`numpy.isin` is a choice for instead `numpy.ma`, [https://numpy.org/doc/stable/reference/generated/numpy.isin.html](https://numpy.org/doc/stable/reference/generated/numpy.isin.html) Which easier to implement between `numpy.isin` and `numpy.ma.*`? ```python a = np.arange(9).reshape((3, 3)) a ``` >array([[0, 1, 2], > [3, 4, 5],...
It works after reduce `NUM_SAMPLES_IN_DMA_BUFFER`, but what affect after change `dmalen`, `dmacount`?
It already implemented on pycom? [https://docs.pycom.io/firmwareapi/micropython/_thread/#lockacquirewaitflag1-timeout-1](https://docs.pycom.io/firmwareapi/micropython/_thread/#lockacquirewaitflag1-timeout-1) I have not a pycom board to verify that.
MicroPython /ports/cc3200 have WIPY board, their MicroPython implement have big difference?