sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer 627a881fd3dacf941af062f556c29d5f46411f22,"Quarter offset implemented (base is now latest pydata-master). (#2721) * Quarter offset implemented (base is now latest pydata-master). * Fixed issues raised in review (https://github.com/pydata/xarray/pull/2721#pullrequestreview-199346642) * Updated whats-new.rst with info on quarter offset support. * Updated whats-new.rst with info on quarter offset support. * Update doc/whats-new.rst Co-Authored-By: jwenfai * Added support for quarter frequencies when resampling CFTimeIndex. Less redundancy in CFTimeIndex resampling tests. * Removed normalization code (unnecessary for cftime_range) in cftime_offsets.py. Removed redundant lines in whats-new.rst. * Removed invalid option from _get_day_of_month docstring. Added tests back in that raises ValueError when resampling (base=24 when resampling to daily freq, e.g., '8D'). * Minor edits to docstrings/comments * lint",2019-03-02T01:41:44Z,2019-03-02T01:41:44Z,3a65a90bd1726017eb300bc4dccb1b502435ff6d,f04422bfa03dadc75fab6ce64de238fbe48f5be4,13221727,8708062,6628425 d8ff0790b743a814cc3d6c29e24b7257c7480153,"CFTimeIndex Resampling (#2593) * First implementation of resampling for CFTimeIndex. * First implementation of resampling for CFTimeIndex, cleaned. * First implementation of resampling for CFTimeIndex, cleaned. * First implementation of resampling for CFTimeIndex, cleaned. * First implementation of resampling for CFTimeIndex. * First implementation of resampling for CFTimeIndex, more bugs fixed, cleaned. * First implementation of resampling for CFTimeIndex, test file written. * First implementation of resampling for CFTimeIndex, test file written, cleaned. * First implementation of resampling for CFTimeIndex, test file written, cleaned. * First implementation of resampling for CFTimeIndex, test file written, cleaned. * First implementation of resampling for CFTimeIndex, test file written, cleaned. * Docstrings for resample_cftime.py written. Upsample still not fixed. * Fixed PEP8 and test parametrization. * PEP8 * Test file fixes and other optimizations (2018-12-16 @spencerclark and 2018-12-05 @max-sixty GitHub reviews for resample-v2-clean pull request). Not cleaned. * Test file fixes and other optimizations (2018-12-16 @spencerclark and 2018-12-05 @max-sixty GitHub reviews for resample-v2-clean pull request). Cleaned. * _get_range_edges logic changed to emulate latest version of pandas. * Simplified resampling logic (errors persist). Pre-cleaning. * Simplified resampling logic (error persists). Cleaned. * Simplified resampling logic (error persists). Fixed first_items.dropna() in groupby.py. Pandas cannot drop indices made up of CFTime objects, so integer indices were swapped in for dropping then swapped back out once NAs are dropped. * Simplified resampling logic (error persists). Logic slightly altered after more tests. 5578 out of 5920 tests passed. Pre-cleaning. * Simplified resampling logic (error persists). Logic slightly altered after more tests. 5578 out of 5920 tests passed. Cleaned. * Precise cftime arithmetic. Reduced overall test time. Added test for _get_range_edges. * Added default values for closed and label args of resample function in common.py. Cleaned up print statements. Modified tests that were written under the assumption that CFTimeIndex cannot be resampled so that the tests now pass. * Added back replace['dayofwk'] = -1 to cftime_offsets.py and cftimeindex.py. Removed unused code from resample_cftime.py. Removed tests that raise error when resampling CFTimeIndex. Removed temp files. * Optimizations as per https://github.com/pydata/xarray/pull/2593/#pullrequestreview-194390990 * Simple test for non-standard calendars added and documentation updated. * Simple test for non-standard calendars added and documentation updated. * Added loffset support to CFTimeIndex resampling. Better adherence to PEP8 and other coding style conventions. * Added loffset support to CFTimeIndex resampling. Better adherence to PEP8 and other coding style conventions. * Support datetime.timedelta objects for loffset. Improved test coverage. * Removed support for Python 2 compatibility. * Updated pandas minversion to 0.24 as 0.24 is officially out. * Removed Python 2 support from test_cftimeindex_resample.py. * Moved full_index and first_items generation logic to a helper function so that the complexity of GroupBy.__init__ is reduced. * In groupby.py, moved s to _get_index_and_items helper function. * Removed redundant code from test_formatting.py due to bad merge. * Removed redundant test and simplify code now that dropna is implemented. * delete unnecessary test * eliminate some repetition",2019-02-03T03:21:13Z,2019-02-03T03:21:13Z,3a65a90bd1726017eb300bc4dccb1b502435ff6d,f10b21bed2846b879806f87039b77245b18e7671,13221727,8708062,1217238