Reader
read
Load data from source(s) as a PySpark DataFrame.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
*source
|
str | Path | DataFrame
|
Arbitrary number of data references. If file-like reference, data will
be loaded using |
()
|
read_func
|
Callable
|
Function to load data from source(s). |
required |
**read_options
|
dict
|
Additional arguments to pass to the read_function. |
{}
|
Returns:
Type | Description |
---|---|
DataFrame
|
Object containing data from all source(s) provided. |
Raises:
Type | Description |
---|---|
PySparkException
|
If reading source(s) cannot be performed successfully. |