Tables¶
Import data from multiple datasources as a list of Tables.
Documentation¶
Imports data from a wide selection of formats (CSV, HDF5, Parquet, XLSX, Matlab, etc.). The format of the data is automatically detected, but for proper functionality the node might need to be configured. The data is imported as the Table datatype which can be used by the majority of the nodes in Sympathy.
File format plugins¶
This node uses plugins, with each plugin supporting one or more file formats. The plugins have their own configurations which are reached by choosing a plugin in the configuration GUI. Please refer to the documentation for each plugin (listed below) for details.
The node has an auto configuration which uses a validity check in the plugins to detect and choose the proper plugin for the considered datasource. When the node is executed in the auto mode the default settings for the plugins will be used.
URL datasource¶
If input datasource is a URL resource, the node will download it to a temporary file before importing it.
If the URL resource contains credential variables, these will be entered as part of the URL. See Credentials Preferences for more info.
Definition¶
Input ports¶
- input
Type: [datasource]Description: Datasources
Output ports¶
- port1
Type: [table]Description: Imported Tables
Configuration¶
- Importer (active_importer)
Select data format importer
- Action on import failure (fail_strategy)
Decide how failure to import a file should be handled.
Plugins¶
Examples¶
Example flows demonstrating this node:
The node can be found in:
Implementation¶
- class node_import_table.ImportTables[source]