Python Collab - Calling Data Processing Functions

Thanks @robstef

So looking through your submission I can see there are two issues:

  1. The package lightgbm is an APT package rather so it needs to be installed in a slightly different way. See this post on what to include in your config in the notebook.
  2. There is a small error in the definition of your proc_x function. Namely you should have df_add = df_raw rather than the other way around. Also in the last line you should have df_add.drop( ..., inplace=True). See the pandas documentation for more.

Then in your fit_model you should include a line such as x_proc = proc_x(X_raw).

If these don’t resolve your issue let me know and we will dig further :slight_smile: