File reader
Module to define behaviour to read from files.
FileReader
¶
Bases: Reader
Class to read from files.
Source code in mkdocs/lakehouse_engine/packages/io/readers/file_reader.py
__init__(input_spec)
¶
Construct FileReader instances.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input_spec |
InputSpec
|
input specification. |
required |
read()
¶
Read file data.
Returns:
| Type | Description |
|---|---|
DataFrame
|
A dataframe containing the data from the files. |