Insert an actual image in a dataframe cell

Sanjeev
Sanjeev Registered Posts: 1 ✭✭✭

Hi,

Is it possible to insert an actual image in a dataframe cell so one can download it as an excel output? You can do it in python using xlsxwriter. Do we have similar option in dataiku?


https://xlsxwriter.readthedocs.io/example_images.html

Thanks!

Answers

  • Liev
    Liev Dataiker Alumni Posts: 176 ✭✭✭✭✭✭✭✭

    @Sanjeev

    Dataiku will allow you to download your content into Excel, but for this you would need to embed the images inside of pandas itself.

    I don't think this is possible at the moment, and can only be achieved by rendering the images when the dataframe is displayed, but not actually saved with it. See here for a demo on how to do that.

    Having said that, given that xlsxwriter is a Python package, you could handle the entire process inside of a Python recipe, which would include the file generation portion.

    Good luck!

Setup Info
    Tags
      Help me…