issues: 403467195
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
403467195 | MDU6SXNzdWU0MDM0NjcxOTU= | 2717 | Test failures with pandas 0.24.0 | 1217238 | closed | 0 | 0 | 2019-01-26T18:16:15Z | 2019-01-27T21:02:03Z | 2019-01-27T21:02:03Z | MEMBER | From a recent build on Travis-CI: ``` =================================== FAILURES =================================== ___ test_cf_timedelta[timedeltas7-days-nan] ______ timedeltas = numpy.datetime64('NaT'), units = 'days', numbers = array(nan) @pytest.mark.parametrize( ['timedeltas', 'units', 'numbers'], [('1D', 'days', np.int64(1)), (['1D', '2D', '3D'], 'days', np.array([1, 2, 3], 'int64')), ('1h', 'hours', np.int64(1)), ('1ms', 'milliseconds', np.int64(1)), ('1us', 'microseconds', np.int64(1)), (['NaT', '0s', '1s'], None, [np.nan, 0, 1]), (['30m', '60m'], 'hours', [0.5, 1.0]), (np.timedelta64('NaT', 'ns'), 'days', np.nan), (['NaT', 'NaT'], 'days', [np.nan, np.nan])]) def test_cf_timedelta(timedeltas, units, numbers): timedeltas = pd.to_timedelta(timedeltas, box=False) numbers = np.array(numbers)
timedeltas = numpy.datetime64('NaT'), units = 'days' def encode_cf_timedelta(timedeltas, units=None): if units is None: units = infer_timedelta_units(timedeltas)
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2717/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |