enh: add maintain_order
to Expr.unique and Series.unique
#1328
Labels
enhancement
New feature or request
high priority
Your PR will be reviewed very quickly if you address this
As requested here plotly/plotly.py#4790 (comment)
We already have
maintain_order
forDataFrame.unique
, my concern is that for some libraries this may turn out to not be guaranteed (and for there to not be any option to guarantee it)However, a workaround like
should always be possible, were some library to stop guaranteeing it
It's not clear to me whether PyArrow makes any guarantees - we can always just use it for now, and if it stop making such guarantees, we use the workaround above apache/arrow#44663
The text was updated successfully, but these errors were encountered: