ENH: pd.factorize to accept a Dataframe #8819
Labels
Algos
Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff
Closing Candidate
May be closeable, needs more eyeballs
Enhancement
from #8626 discussion
cc @fkaufer
allow
pd.factorize
to take a Dataframe and process with tuples of columns.further allow
DataFrame.factorize
with asubset
argument which just callspd.factorize
impl is below (e.g. simple fast-zipping then factorizing after dense conversion)
just needs some tests
The text was updated successfully, but these errors were encountered: