Back to bricks list
Introduction
Technical Documentation
Tasks
Table exporter
Version

Table exporter

EXPORTER
Typing name :  TASK.gws_core.TableExporter Brick :  gws_core

Export Table to a file

Generic task that take a file as input and return a resource

Override the export_to_path method to export the resource into a File

Input

Table
2d excel like table

Output

File

Configuration

file_name

Optional

File name (without extension)

Type : string

file_format

Optional

Type : stringDefault value : csv

delimiter

Optional

Only for CSV files

Type : stringDefault value : auto

write_header

Optional Advanced parameter

Set True to write column names (header), False otherwise

Type : boolDefault value : true

write_index

Optional Advanced parameter

Set True to write row names (index), False otherwise

Type : bool