Skip to content

Commit

Permalink
fix teacher_pupil.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel.oranyeli committed Sep 7, 2024
1 parent 7148186 commit 8c4384d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions examples/notebooks/teacher_pupil.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,10 @@
"\n",
"@pf.register_dataframe_method\n",
"def drop_duplicated_column(df, column_name: str, column_order: int=0):\n",
" \"\"\"Remove duplicated columns and retain only a column given its order.\n",
" Order 0 is to remove the first column, Order 1 is to remove the second column, and etc\"\"\"\n",
" \"\"\"Remove duplicated columns \n",
" and retain only a column given its order.\n",
" Order 0 is to remove the first column, \n",
" Order 1 is to remove the second column, and etc\"\"\"\n",
"\n",
" cols = list(df.columns)\n",
" col_indexes = [\n",
Expand Down Expand Up @@ -467,7 +469,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.9.16"
},
"stem_cell": {
"cell_type": "raw",
Expand Down

0 comments on commit 8c4384d

Please sign in to comment.