RootDataSource.ConfigΒΆ

Component: RootDataSource

class RootDataSource.Config[source]

Bases: Component.Config

All Attributes (including base classes)

column_mapping: dict[str, str] = {}
An optional column mapping, allowing the columns in the raw data source to not map directly to the column names in the schema. This mapping will remap names from the raw data source to names in the schema.
Subclasses
  • CoNLLUNERDataSource.Config
  • CoNLLUPOSDataSource.Config
  • PandasDataSource.Config
  • SessionPandasDataSource.Config
  • SessionDataSource.Config
  • BlockShardedTSVDataSource.Config
  • MultilingualTSVDataSource.Config
  • SessionTSVDataSource.Config
  • TSVDataSource.Config

Default JSON

{
    "column_mapping": {}
}