Skip to content

Commit

Permalink
improved spacing in the main docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
MinuraPunchihewa committed Oct 18, 2024
1 parent 761f963 commit e14d90e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,21 @@ def _validate_write_mode(self) -> None:
class ExternalTableDataset(BaseTableDataset):
"""``ExternalTableDataset`` loads and saves data into external tables in Databricks.
Load and save can be in Spark or Pandas dataframes, specified in dataframe_type.
Example usage for the
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
names_and_ages@spark:
type: databricks.ExternalTableDataset
format: parquet
table: names_and_ages
names_and_ages@pandas:
type: databricks.ExternalTableDataset
format: parquet
table: names_and_ages
dataframe_type: pandas
Example usage for the
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
Expand Down

0 comments on commit e14d90e

Please sign in to comment.