Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pint support for DataArray #3643

Merged
merged 33 commits into from
Apr 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
9cf9018
remove xfail marks from median and cumprod
keewis Dec 18, 2019
a300a17
remove all xfails not related to indexes or external packages
keewis Dec 21, 2019
f5fd0cc
switch away from using assert_equal_with_units
keewis Dec 23, 2019
eed6c70
use assert_allclose in a few cases instead
keewis Dec 23, 2019
7198b46
don't use a kwarg for searchsorted
keewis Dec 24, 2019
2477588
move the tests for item into their own test function
keewis Dec 24, 2019
a660b4e
move the searchsorted tests into their own test function
keewis Dec 25, 2019
41675cb
remove a wrapping pytest.param
keewis Dec 25, 2019
570ad1d
treat objects implementing __array_function__ the same as ndarray
keewis Dec 25, 2019
308df31
mark numpy.median as xfailing
keewis Dec 25, 2019
039d17d
remove the xfail marks for the all and any tests
keewis Mar 12, 2020
796d5e7
use assert_units_equal to check the resulting units
keewis Mar 12, 2020
b5c9a21
don't attempt to use interpolate_na with int dtype arrays
keewis Mar 21, 2020
741a979
update the xfail reason for DataArray.interpolate_na
keewis Mar 21, 2020
00a0b38
xfail the compatible units bivariate_ufunc test and don't use 0
keewis Mar 22, 2020
a27fea7
combine and expand the reindex and interp tests
keewis Mar 22, 2020
0fed2cc
combine and expand the reindex_like and interp_like tests
keewis Mar 22, 2020
d30c6dd
xfail the quantile tests if pint is not recent enough
keewis Mar 22, 2020
bbd6b90
xfail the rolling tests
keewis Mar 22, 2020
db987f1
don't xfail combine_first
keewis Mar 22, 2020
7a1da5a
use numpy's assert_allclose
keewis Mar 22, 2020
6a7f22e
don't add dimension coordinates if they're not necessary
keewis Mar 22, 2020
3c97617
Merge branch 'master' into pint-support-dataarray
keewis Mar 22, 2020
1b74c04
add the PR to the list of related PRs
keewis Mar 22, 2020
40b18f4
Merge branch 'master' into pint-support-dataarray
keewis Mar 29, 2020
c4ece7e
move the whats-new.rst entry to 0.16.0
keewis Mar 29, 2020
c91c2a9
check for __array_ufunc__ to decide if the type is supported
keewis Apr 2, 2020
79430f0
Merge branch 'master' into pint-support-dataarray
keewis Apr 6, 2020
c3cd732
xfail the bivariate ufunc tests
keewis Apr 6, 2020
c09b6ed
remove the check for __array_ufunc__
keewis Apr 6, 2020
28ec566
skip the DataArray.identical tests
keewis Apr 21, 2020
ae14a1a
Merge branch 'master' into pint-support-dataarray
keewis Apr 21, 2020
4303d6b
use pytest.param
keewis Apr 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ New Features
- Implement :py:meth:`DataArray.idxmax`, :py:meth:`DataArray.idxmin`,
:py:meth:`Dataset.idxmax`, :py:meth:`Dataset.idxmin`. (:issue:`60`, :pull:`3871`)
By `Todd Jennings <https://github.com/toddrjen>`_
- More support for unit aware arrays with pint (:pull:`3643`)
By `Justus Magin <https://github.com/keewis>`_.

- Allow plotting of boolean arrays. (:pull:`3766`)
By `Marek Jacob <https://github.com/MeraX>`_
- A ``days_in_month`` accessor for :py:class:`xarray.CFTimeIndex`, analogous to
Expand Down
Loading