Return type of dataset component in custom plugin
vivekms_3012
Registered Posts: 1 ✭
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
Tagged:
Answers
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
Hi,
For generate_rows please see the example here :
https://doc.dataiku.com/dss/latest/python-api/plugins/custom_datasets.html#dataiku.connector.Connector.generate_rows
You can look at existing dataset plugin like API Connect for detailed examples.
Thanks