Skip to content

Commit

Permalink
minor PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeMoussalli committed May 4, 2023
1 parent 834ed49 commit 924a59d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fondant/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def write_index(self, df: dd.DataFrame):
"""
Write the index dataframe to a remote location.
Args:
df: The input Dask dataframe.
df: The output Dask dataframe returned by the user.
"""
remote_path = self.manifest.index.location
index_columns = list(self.manifest.index.fields.keys())
Expand All @@ -147,8 +147,8 @@ def write_subsets(self, df: dd.DataFrame, spec: FondantComponentSpec):
Write all subsets of the Dask dataframe to a remote location.
Args:
df (dask.dataframe.DataFrame): The input Dask dataframe.
spec (FondantComponentSpec): The specification of the output subsets.
df (dask.dataframe.DataFrame): The output Dask dataframe returned by the user.
spec (FondantComponentSpec): The component specification.
Raises:
ValueError: If a field defined in an output subset is not present in the user
Expand Down

0 comments on commit 924a59d

Please sign in to comment.