Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 80d09b7

Browse files
Update urls.ipynb
1 parent 1cd5606 commit 80d09b7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

notebooks/urls.ipynb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,9 @@
403403
{
404404
"cell_type": "code",
405405
"source": [
406-
"df = lp.connector.rename_col(\n",
407-
" table=df, \n",
408-
" col=\"urls\", \n",
409-
" to=\"global_key\"\n",
410-
")\n",
406+
"df = df.rename(columns={\n",
407+
" \"urls\" : \"global_key\"\n",
408+
"})\n",
411409
"df.head(10)"
412410
],
413411
"metadata": {

0 commit comments

Comments
 (0)