{"action":"opened","issue":{"url":"https://api.github.com/repos/dask/dask/issues/4052","repository_url":"https://api.github.com/repos/dask/dask","labels_url":"https://api.github.com/repos/dask/dask/issues/4052/labels{/name}","comments_url":"https://api.github.com/repos/dask/dask/issues/4052/comments","events_url":"https://api.github.com/repos/dask/dask/issues/4052/events","html_url":"https://github.com/dask/dask/issues/4052","id":366524856,"node_id":"MDU6SXNzdWUzNjY1MjQ4NTY=","number":4052,"title":"Dataframe tests warn loudly","user":{"login":"mrocklin","id":306380,"node_id":"MDQ6VXNlcjMwNjM4MA==","avatar_url":"https://avatars3.githubusercontent.com/u/306380?v=4","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T20:56:00Z","updated_at":"2018-10-03T20:56:00Z","closed_at":null,"author_association":"MEMBER","body":"Most of our travis-ci logs are warnings from numpy, scipy, pandas.  cc @jakirkham @TomAugspurger \r\n\r\nWe should probably resolve these, but I'm also curious if there is a way to stop Python from warning after the first occurrence.  I think that this used to be the default in Python 2.  My guess is that there is some way to change the default in Python 3.\r\n\r\n```\r\ndask/array/tests/test_fft.py::test_wrap_fftns[float32-fftn-scipy.fftpack]\r\n  /home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/scipy/fftpack/basic.py:160: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.\r\n    z[index] = x\r\n```\r\n\r\n```\r\ndask/dataframe/tests/test_arithmetics_reduction.py::test_reductions[False]\r\n  /home/travis/build/dask/dask/dask/dataframe/methods.py:109: RuntimeWarning: invalid value encountered in double_scalars\r\n    result = (x2 / n) - (x / n)**2\r\n  /home/travis/build/dask/dask/dask/dataframe/methods.py:102: RuntimeWarning: invalid value encountered in double_scalars\r\n    return s / n\r\n```\r\n\r\n```\r\ndask/dataframe/tests/test_groupby.py::test_split_apply_combine_on_series\r\n  /home/travis/build/dask/dask/dask/dataframe/utils.py:577: FutureWarning: 'b' is both an index level and a column label.\r\n  Defaulting to column, but this will raise an ambiguity error in a future version\r\n    a = a.sort_values(by=a.columns.tolist())\r\n```\r\n\r\n```\r\ndask/dataframe/tests/test_groupby.py::test_full_groupby_multilevel[True-grouper1]\r\n  /home/travis/build/dask/dask/dask/dataframe/tests/test_groupby.py:191: UserWarning: `meta` is not specified, inferred from partial data. Please provide `meta` if the result is unexpected.\r\n    Before: .apply(func)\r\n    After:  .apply(func, meta={'x': 'f8', 'y': 'f8'}) for dataframe result\r\n    or:     .apply(func, meta=('x', 'f8'))            for series result\r\n    ddf.groupby(grouper(ddf)).apply(func))\r\n  /home/travis/build/dask/dask/dask/dataframe/utils.py:577: FutureWarning: 'a' is both an index level and a column label.\r\n  Defaulting to column, but this will raise an ambiguity error in a future version\r\n    a = a.sort_values(by=a.columns.tolist())\r\n  /home/travis/build/dask/dask/dask/dataframe/utils.py:577: FutureWarning: 'b' is both an index level and a column label.\r\n  Defaulting to column, but this will raise an ambiguity error in a future version\r\n    a = a.sort_values(by=a.columns.tolist())\r\n```\r\n\r\n```\r\n    pd.concat(pdcase))\r\n  /home/travis/build/dask/dask/dask/dataframe/methods.py:304: FutureWarning: Sorting because non-concatenation axis is not aligned. A future version\r\n  of pandas will change to not sort by default.\r\n  \r\n  To accept the future behavior, pass 'sort=False'.\r\n  \r\n  To retain the current behavior and silence the warning, pass 'sort=True'.\r\n  \r\n    for df in dfs3], join=join).any()\r\n```\r\n"}}
{"actor":{"display_login":"mrocklin"}}