![]() |
VOOZH | about |
pandas.factorize() and Series.factorize().
Parameters: values : 1D sequence. sort : [bool, Default is False] Sort uniques and shuffle labels. na_sentinel : [ int, default -1] Missing Values to mark 'not found'. Return: Numeric representation of arrayCode: Explaining the working of factorize() method 👁 Image