Excel Generator
1 min read
The service is integrated into the following modules:
Functionality
The Excel Generator Service enables developers to easily convert a pandas data frame to a nicely formatted Excel File. It is used as part of a tool or module.
This service is built on top of the xlsxwriter library.
Configuration
Default Configuration
{
"uploadSuffix": "_answers.docx",
"uploadScopeId": null,
"uploadToChat": true,
"renameColMap": null,
"tableHeaderFormat": {
"bg_color": "#966919",
"bold": true,
"font_color": "white",
"text_wrap": true,
},
"tableDataFormat":{
"bg_color": "#FFFFFF",
"bold": false,
"font_color": "black",
"text_wrap": true,
"border": 1,
"valign": "top",
}
}Field Name | Description | Type | Default Value | Required |
|---|---|---|---|---|
| The suffix of the generated Excel file. | string |
| No |
| The scope id into which the generated docx file is uploaded. | string |
| No |
| Whether to upload the generated file to the chat. | boolean |
| No |
| This setting lets you rename columns when exporting data. By default, a column might be exported with a name like Example: To rename json | dict |
| No |
| The It accepts a dictionary of style options, where you can define things like:
These style options follow the rules of the | dict | json | No |
| The It accepts a dictionary of style settings, where you can control things like:
These style options follow the rules of the | dict | json | No |