From a function in a jupyter notebook to a dataframe
Lilja
Registered Posts: 5 ✭✭✭✭
Hi Team,
I have created a simple recommendation system in a python notebook. I started by changing the dataiku.dataset to a dictionary.
This is the final function:
Here you can see the results for family nr. 13.
However, I would like to get recommendations for all family-numbers. The output should be five columns. The first column holding the top recommendation for each family, the second column holding the next best recommendation, etc
Answers
-
Hi. In the end I had correctly coded the transformation to a dataframe. The issue was that it was running for hours. We solved it with multi-processing, which only took a fraction of the time.
-
thanks!