Open
Description
Pandas version checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this issue exists on the latest version of pandas.
-
I have confirmed this issue exists on the main branch of pandas.
Reproducible Example
nlargest is so slow, I think this is question, maybe we should do someting to improve it.
Here, is my code, you can see nlargest use many time more than it should use.
Installed Versions
Replace this line with the output of pd.show_versions()
Prior Performance
No response