issues: 1637898633
This data as json
| 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 | 
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1637898633 | I_kwDOAMm_X85hoFmJ | 7665 | Interpolate_na: Rework 'limit' argument documentation/implementation | 42680748 | open | 0 | 6 | 2023-03-23T16:46:39Z | 2024-03-13T17:53:58Z | CONTRIBUTOR | What is your issue?Currently, the 'limit' argument of  
 Comparison to pandasSimilar behaviour can be created using pandas with the following arguments:
 Output``` y 0 NaN 1 NaN 2 NaN 3 4.0 4 5.0 5 6.0 6 NaN 7 NaN dtype: float64 ```This is equivalent to the current xarray behaviour, except there is no  CauseCurrently, the fill mask in xarray is implemented using a rolling window operation, where values outside the array are assumed to be valid (therefore the  Possible SolutionsBoundary IssueConcerning the  Asymmetric FillingConcerning the asymmetric filling, I see two options: 
1. No changes to the code, but mention in the documentation that (effectively), a forward-fill is done.
2. Make something similar to what pandas is doing. In pandas, there are two additional arguments controlling the limit behaviour:  What do you think?  | 
                
                    {
    "url": "https://api.github.com/repos/pydata/xarray/issues/7665/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
} | 
                
                    13221727 | issue |