Giter Site home page Giter Site logo

dataiku_multi_sheet's Introduction

Multiple Worksheet Constructor and Extractor for DataIku

This package avoids the requirements to install additional plugins in order to create a multi-worksheet Excel file.

Currently, suggestions made on DataIku forum is to create store the information on BytesIO using openpyxl, however, this method will create a corrupted Excel file.

The issue of corrupted file lead to the a creation of the following package.

TESTED ON: Dataiku Version: 8.0.4

Requirements:

  • Python version 3.6 and up
  • openpyxl installed in your env

Setup:

DataIku currently offers multiple ways of constructing a folder, these are the settings that have been tested and were proven to be successful:

  1. Go to your Flow
  2. Click DATASET and select Folder
  3. Insert name of the folder in Label and select Filesystem as a storage location (preferably filesystem_folder). Partioning: Not partioned

NOTE: Label is the name of the folder, that will be required as an input.

How to use:

Import the package to your Library section either using Git > Import Git.

Open up your notebook and import using:

from dataiku_multi_sheet import xlsx_constructor

Upon receiving 'Job is completed!' please check the assigned folder for an Excel file.

Params:

:param: file_name: Name of the Excel file to be created.

:param: folder_name: Name of the folder where the Excel file will be exported to.

NOTE: Please make sure that the folder exists. Follow README.md for more information.

:param: sheet_names: List of sheet names to be created in the Excel file. It is a list of strings.

:param: dataframe_list: List of DataFrames to be exported to the Excel file. It is a list of DataFrames.

:return: None

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.