Skip to content

Commit

Permalink
rossmann
Browse files Browse the repository at this point in the history
  • Loading branch information
sgugger committed Sep 14, 2018
1 parent 230eb45 commit 3f7858f
Show file tree
Hide file tree
Showing 4 changed files with 1,186 additions and 1 deletion.
1 change: 1 addition & 0 deletions dev_nb/008_movie_lens.ipynb
Expand Up @@ -93,6 +93,7 @@
"metadata": {},
"outputs": [],
"source": [
"#export\n",
"def series2cat(df, *col_names):\n",
" for c in listify(col_names): df[c] = df[c].astype('category').cat.as_ordered()"
]
Expand Down

0 comments on commit 3f7858f

Please sign in to comment.