* Returns integer position of the smallest value in the Series. * @example * ``` * const sf = new Series([3, 1, 2]); * const sf2 = sf.argMin(); * console.log(sf2); * //output 1 * ``` *
()
| 1669 | * |
| 1670 | */ |
| 1671 | argMin(): number { |
| 1672 | return this.tensor.argMin().arraySync() as number |
| 1673 | } |
| 1674 | |
| 1675 | /** |
| 1676 | * Remove duplicate values from a Series |