From 24d41dc1ca2a13649293cf40fbfaa7c04f1c83e9 Mon Sep 17 00:00:00 2001 From: "Mads R. B. Kristensen" Date: Wed, 30 Oct 2024 12:01:29 +0100 Subject: [PATCH] debug --- ci/cudf_pandas_scripts/run_tests.sh | 5 +---- docs/cudf/source/user_guide/10min.ipynb | 3 +-- docs/cudf/source/user_guide/cupy-interop.ipynb | 3 +-- docs/cudf/source/user_guide/missing-data.ipynb | 5 ++--- .../performance-comparisons/performance-comparisons.ipynb | 3 +-- 5 files changed, 6 insertions(+), 13 deletions(-) diff --git a/ci/cudf_pandas_scripts/run_tests.sh b/ci/cudf_pandas_scripts/run_tests.sh index 650e3692bc8..0796bab213a 100755 --- a/ci/cudf_pandas_scripts/run_tests.sh +++ b/ci/cudf_pandas_scripts/run_tests.sh @@ -83,10 +83,7 @@ which gdb # The third-party integration tests are ignored because they are run nightly in seperate CI job python -m pytest -p cudf.pandas \ --ignore=./python/cudf/cudf_pandas_tests/third_party_integration_tests/ \ - --cov-config=./python/cudf/.coveragerc \ - --cov=cudf \ - --cov-report=xml:"${RAPIDS_COVERAGE_DIR}/cudf-pandas-coverage.xml" \ - --cov-report=term \ + -vs \ ./python/cudf/cudf_pandas_tests/ output=$(python ci/cudf_pandas_scripts/fetch_pandas_versions.py $pandas_version_constraint) diff --git a/docs/cudf/source/user_guide/10min.ipynb b/docs/cudf/source/user_guide/10min.ipynb index 46221b6015b..17b3bab0278 100644 --- a/docs/cudf/source/user_guide/10min.ipynb +++ b/docs/cudf/source/user_guide/10min.ipynb @@ -37,12 +37,11 @@ "source": [ "import os\n", "\n", + "import cudf\n", "import cupy as cp\n", "import dask_cudf\n", "import pandas as pd\n", "\n", - "import cudf\n", - "\n", "cp.random.seed(12)\n", "\n", "#### Portions of this were borrowed and adapted from the\n", diff --git a/docs/cudf/source/user_guide/cupy-interop.ipynb b/docs/cudf/source/user_guide/cupy-interop.ipynb index c5b1210a2c7..e26fe947f1d 100644 --- a/docs/cudf/source/user_guide/cupy-interop.ipynb +++ b/docs/cudf/source/user_guide/cupy-interop.ipynb @@ -19,11 +19,10 @@ "source": [ "import timeit\n", "\n", + "import cudf\n", "import cupy as cp\n", "from packaging import version\n", "\n", - "import cudf\n", - "\n", "if version.parse(cp.__version__) >= version.parse(\"10.0.0\"):\n", " cupy_from_dlpack = cp.from_dlpack\n", "else:\n", diff --git a/docs/cudf/source/user_guide/missing-data.ipynb b/docs/cudf/source/user_guide/missing-data.ipynb index f1404ce0b77..0ec5b581f7b 100644 --- a/docs/cudf/source/user_guide/missing-data.ipynb +++ b/docs/cudf/source/user_guide/missing-data.ipynb @@ -39,9 +39,8 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", - "\n", - "import cudf" + "import cudf\n", + "import numpy as np" ] }, { diff --git a/docs/cudf/source/user_guide/performance-comparisons/performance-comparisons.ipynb b/docs/cudf/source/user_guide/performance-comparisons/performance-comparisons.ipynb index d9df99bf16a..ef66a59c4ee 100644 --- a/docs/cudf/source/user_guide/performance-comparisons/performance-comparisons.ipynb +++ b/docs/cudf/source/user_guide/performance-comparisons/performance-comparisons.ipynb @@ -41,12 +41,11 @@ "import timeit\n", "from io import BytesIO\n", "\n", + "import cudf\n", "import matplotlib.pyplot as plt\n", "import numpy as np\n", "import pandas as pd\n", "\n", - "import cudf\n", - "\n", "print(f\"{cudf.__version__=}\")" ] },