0 votes
Hello,

Is it possible to build a dataset through a python method  ?

 

Cheers,
Clément
asked by

1 Answer

0 votes
Yes, you can define a Python recipe with an ouput dataset but no input. Use case could be that you retrieve data from an external API, process it in a Pandas dataframe, and then save it to your output dataset using a dataiku method such as write_with_schema.
answered by
The function I was looking for is  scenario.build_dataset(). I didn't ask It the proper way ;)
Thks
OK great! We have some examples in our doc that may help you: https://doc.dataiku.com/dss/latest/api/public/client-python/index.html#examples
686 questions
705 answers
528 comments
434 users