Login
Back to bricks list
Introduction Version

Table exporter

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

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 : stringAllowed values : xlsx  xls  csv  tsv  tab  txt  Default value : csv

delimiter

Optional

Only for CSV files

Type : stringAllowed values : auto  tab  space  ,  ;  Default value : auto

write_header

OptionalAdvanced parameter

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

Type : boolDefault value : true

write_index

OptionalAdvanced parameter

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

Type : bool