ops.write
LakeOps provides methods for user management including creation, read and write dataset from/to a datalake through a storage path or schema/table name.
write(data, path, format='delta', mode='overwrite', options=None)
Write a table to a storage path or schema/table name.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data
|
Any
|
Data to write (DataFrame) |
required |
path
|
str
|
Storage path or schema/table name or Google Sheet ID to write to |
required |
format
|
str
|
Table format (default: 'delta') |
'delta'
|
mode
|
str
|
Write mode - 'overwrite', 'append', etc. (default: 'overwrite') |
'overwrite'
|
options
|
Optional[Dict[str, Any]]
|
Additional options to pass to the underlying engine |
None
|
Returns:
Type | Description |
---|---|
None |