home / github / commits

Menu
  • Search all tables
  • GraphQL API

commits: d8ff0790b743a814cc3d6c29e24b7257c7480153

This data as json

sha message author_date committer_date raw_author raw_committer repo author committer
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
Powered by Datasette · Queries took 0.789ms · About: xarray-datasette