Survey banner
The Dataiku Community is moving to a new home! Some short term disruption starting next week: LEARN MORE

Return type of dataset component in custom plugin

vivekms_3012
Level 1
Return type of dataset component in custom plugin

I am trying to create a small custom plugin in dataiku. It will only have a dataset component. Ideally it should call, for the lack of a better word, lets say an endpoint which returns data in the form of pandas dataframe. What should be my generate_rows method should look like, given that it returns a generator ?

 

Let me know if more clarifications are required.


Operating system used: Windows

0 Kudos
1 Reply
AlexT
Dataiker

Hi,
For generate_rows please see the example here :
https://doc.dataiku.com/dss/latest/python-api/plugins/custom_datasets.html#dataiku.connector.Connect...
You can look at existing dataset plugin like API Connect for detailed examples.

Thanks