id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 2104267494,I_kwDOAMm_X859bJLm,8677,Add rolling.rank() same as pandas,39230130,open,0,,,4,2024-01-28T17:27:21Z,2024-01-29T19:50:20Z,,NONE,,,,"### Is your feature request related to a problem? Dear xarray maintainers, I would like to express my heartfelt gratitude for the significant optimizations your xarray library has brought to my project. Xarray combines the speed of numpy with the highly customizable parameters of pandas. The extensive parameters in the ``rolling`` module have allowed me to achieve functionality similar to pandas more efficiently. I am wondering if it would be possible to incorporate a ranking method for rolling windows, including the ability to specify parameters such as ``pct``, similar to the pandas ``rolling.rank`` function. Your consideration of this feature would be greatly appreciated. Once again, thank you for your contributions! ![rolling](https://github.com/pydata/xarray/assets/39230130/544352ca-0da1-4b6e-9829-e0b50e229cc4) ### Describe the solution you'd like _No response_ ### Describe alternatives you've considered _No response_ ### Additional context _No response_","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/8677/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,issue