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/2507#issuecomment-433779791,https://api.github.com/repos/pydata/xarray/issues/2507,433779791,MDEyOklzc3VlQ29tbWVudDQzMzc3OTc5MQ==,1217238,2018-10-29T03:43:49Z,2018-10-29T03:43:49Z,MEMBER,"> Is xarray responsible for putting the arrays into a tuple upon function completion, and if so where should I go to look into that? No, I don't think xarray is responsible for this. Depending on the options you pass to `apply_ufunc` ( e.g., `vectorize=True`) we may substitute a function for the provided `func`, but that's not the case by default. I think this is the line in your function where you return a list: https://github.com/monocongo/climate_indices/blob/cd1982752e288cf02d50ca0680744842bde16293/climate_indices/palmer.py#L1937","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,373646673 https://github.com/pydata/xarray/issues/2507#issuecomment-433255707,https://api.github.com/repos/pydata/xarray/issues/2507,433255707,MDEyOklzc3VlQ29tbWVudDQzMzI1NTcwNw==,1217238,2018-10-26T01:21:14Z,2018-10-26T01:21:14Z,MEMBER,I wonder if this is due to your use of `@numba.jit` on the applied functions -- does removing that fix this?,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,373646673