Skip to content

Commit

Permalink
fix import order
Browse files Browse the repository at this point in the history
  • Loading branch information
pmattione-nvidia committed Jan 24, 2025
1 parent c6d69c9 commit f1542d3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions docs/cudf/source/user_guide/10min.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions docs/cudf/source/user_guide/cupy-interop.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 2 additions & 3 deletions docs/cudf/source/user_guide/missing-data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"\n",
"import cudf"
"import cudf\n",
"import numpy as np"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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__=}\")"
]
},
Expand Down

0 comments on commit f1542d3

Please sign in to comment.