sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer 86266902d65df36482629aa8cf7b5719bd461970,"[DOC] resample and then apply func on time+other variables (#7725) * [DOC] resample and then apply func on time+other variables: * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update doc/user-guide/time-series.rst --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Deepak Cherian ",2023-04-06T02:15:01Z,2023-04-06T02:15:01Z,acde3fb723d93dd977944e567526dca54f64ec7d,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,8809578,19864447 cd901842144ce7f52b08b5b271310f31f6b04c26,"clarification for thresh arg of dataset.dropna() (#7481) * clarification for thresh arg of dataset.dropna() * Update xarray/core/dataset.py --------- Co-authored-by: Mathias Hauser ",2023-02-14T13:57:37Z,2023-02-14T13:57:37Z,acde3fb723d93dd977944e567526dca54f64ec7d,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,8809578,19864447 2ef82c535e2212a6c3dc21d0ac07e2e4236d68dc,"see also : groupby in resample doc and vice-versa (#7425) groupby is like a resample on non-contiguous data",2023-01-06T18:25:01Z,2023-01-06T18:25:01Z,acde3fb723d93dd977944e567526dca54f64ec7d,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,8809578,19864447 b9aedd0155548ed0f34506ecc255b1688f07ffaa,set_coords docs: see also Dataset.assign_coords (#7230),2022-10-27T17:08:30Z,2022-10-27T17:08:30Z,acde3fb723d93dd977944e567526dca54f64ec7d,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,8809578,19864447 30cb42da9456971a5b21d950639d5a72c8f5fe1d,assign_coords docs: see also Dataset.set_coords (#7231),2022-10-27T17:07:28Z,2022-10-27T17:07:28Z,acde3fb723d93dd977944e567526dca54f64ec7d,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,8809578,19864447 97c70cfe7d1942a0350bb01fd6b2a076306440aa,make clearer that sortby() do not run inplace (#7226),2022-10-26T15:56:01Z,2022-10-26T15:56:01Z,acde3fb723d93dd977944e567526dca54f64ec7d,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,8809578,19864447 aeb00f9da90e4485d2e94f6796c7dd96a2cb1278,"_season_from_months can now handle np.nan (#5876) * _season_from_months can now handle np.nan _season_from_months can now handle np.nan and values outside of [1,12] I passed these tests: def test_season(): months = np.array([ 1, 2, 3, 4, 5, np.nan]) assert ( _season_from_months(months) == np.array(['DJF', 'DJF', 'MAM', 'MAM', 'MAM', 'na']) ).all() months = np.array([ 1, 100, 3, 13, 0, -5]) assert ( _season_from_months(months) == np.array(['DJF', 'na', 'MAM', 'na', 'na', 'na']) ).all() months = np.array(range(1, 13)) assert ( _season_from_months(months) == np.array(['DJF', 'DJF', 'MAM', 'MAM', 'MAM', 'JJA', 'JJA', 'JJA', 'SON', 'SON', 'SON', 'DJF']) ).all() test_season() * Run black * Remove duplicated import * returns np.nan and removed the useless attribution returns np.nan and removed the useless attribution when month is not in [1,12] * added test * applied black recommendations * Apply suggestions from code review finally, NaT is output as a ""nan"" string Co-authored-by: Spencer Clark * update whatsnew * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Correction on the credits Co-authored-by: Spencer Clark Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com> Co-authored-by: Spencer Clark Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>",2022-01-11T16:06:18Z,2022-01-11T16:06:18Z,acde3fb723d93dd977944e567526dca54f64ec7d,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,8809578,19864447