xarray-contrib/cf-xarray

silence warnings in make_doc

Closed this issue · 0 comments

=============================== warnings summary ===============================
cf_xarray/tests/test_scripts.py::test_make_doc
  /home/runner/work/cf-xarray/cf-xarray/cf_xarray/scripts/make_doc.py:31: FutureWarning: In a future version of pandas all arguments of DataFrame.dropna will be keyword-only
    df = df.dropna(1, how="all")

cf_xarray/tests/test_scripts.py::test_make_doc
  /home/runner/work/cf-xarray/cf-xarray/cf_xarray/scripts/make_doc.py:33: FutureWarning: In a future version of pandas all arguments of DataFrame.sort_index will be keyword-only
    df = df.sort_index(0).sort_index(1)

cf_xarray/tests/test_scripts.py::test_make_doc
  /home/runner/work/cf-xarray/cf-xarray/cf_xarray/scripts/make_doc.py:40: FutureWarning: In a future version of pandas all arguments of DataFrame.dropna will be keyword-only
    subdf = df[sorted(keys)].dropna(1, how="all")

cf_xarray/tests/test_scripts.py::test_make_doc
  /home/runner/work/cf-xarray/cf-xarray/cf_xarray/scripts/make_doc.py:41: FutureWarning: In a future version of pandas all arguments of DataFrame.dropna will be keyword-only
    subdf = subdf.dropna(1, how="all").transpose()

cf_xarray/tests/test_scripts.py::test_make_doc
  /home/runner/work/cf-xarray/cf-xarray/cf_xarray/scripts/make_doc.py:55: FutureWarning: In a future version of pandas all arguments of DataFrame.sort_index will be keyword-only
    df = df.sort_index(1).transpose()