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



Setup Info
      Help me…