html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/6891#issuecomment-1474097791,https://api.github.com/repos/pydata/xarray/issues/6891,1474097791,IC_kwDOAMm_X85X3PJ_,44142765,2023-03-17T16:30:58Z,2023-03-17T16:31:12Z,NONE,"@alrho007 I still get this error using version `2022.9.0`: ```python In [1]: import pandas as pd [5/182] ...: import xarray as xr ...: import numpy as np ...: ...: da = xr.DataArray( ...: ...: np.random.rand(4, 3), ...: ...: [ ...: ...: (""time"", pd.date_range(""2000-01-01"", periods=4)), ...: ...: (""space"", [""IA"", ""IL"", ""IN""]), ...: ...: ], ...: ...: ) ...: da.curvefit(coords=[""time""], func=lambda x, params: x, method=""trf"") --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[1], line 18 3 import numpy as np 5 da = xr.DataArray( 6 7 np.random.rand(4, 3), (...) 16 17 ) ---> 18 da.curvefit(coords=[""time""], func=lambda x, params: x, method=""trf"") TypeError: curvefit() got an unexpected keyword argument 'method' In [2]: xr.__version__ Out[2]: '2022.9.0' ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1331985070