sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer e7d6e12662ae113a57eaf38eb2a19ab9ff92b9a8,"Add DataArray.pad, Dataset.pad, Variable.pad (#3596) * add pad method to Variable and add corresponding test * move pad_with_fill value to dask_array_compat.py and make it default to dask.array.pad * add pad method to dataarray * add docstrings for variable.pad and dataarray.pad * add tests for DataArray.pad * improve pad method signature and support dictionaries as pad_options instead of list of tuples * fix linting errors and remove typo from tests * implement suggested changes: pad_width => padwidths, use pytest.mark.parametrize in test_variable.test_pad * move pad method to dataset * add helper function to variable.pad and fix some mypy errors * add some more tests for DataArray.pad and add docstrings to all pad methods * add workaround for dask.pad mode=mean that converts integers to floats, and add an additional check if the shape of output * disable linear_ramp test and add pad to whats-new.rst and api.rst * fix small mege issue in test_unit * fix DataArray.pad and Dataset.pad docstrings * implement suggested changes from code review: add option of integer pad_width, add a warning and exception to dask_array_compad.pad * apply isort and and set linear_ramp to xfail * Minor fixes. 1. Add warning category 2. Use variable for pad arguments when testing 3. Add example. * fix merge issue and make some minor changes as suggested in the code review * fix test_unit.test_pad_constant_values * Keewis review comments * Add experimental warning Co-authored-by: dcherian ",2020-03-19T14:41:49Z,2020-03-19T14:41:49Z,d5ea6c561a95822de9ff1ee6ed065b22b67789ef,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,12862013,19864447