load_data¶
- glue.core.data_factories.load_data(path, factory=None, **kwargs)¶
Use a factory to load a file and assign a label.
This is the preferred interface for loading data into Glue, as it logs metadata about how data objects relate to files on disk.
- Parameters
path – Path to a file
factory – factory function to use. Defaults to
auto_data()
Extra keywords are passed through to factory functions