diff --git a/docarray/array/doc_list/io.py b/docarray/array/doc_list/io.py index 3acb66bf6e..dc07d8ccee 100644 --- a/docarray/array/doc_list/io.py +++ b/docarray/array/doc_list/io.py @@ -416,7 +416,7 @@ def to_csv( Save a `DocList` to a csv file. The field names will be stored in the first row. Each row corresponds to the information of one Document. - Columns for nested fields will be named after the "__"-seperated access paths, + Columns for nested fields will be named after the "__"-separated access paths, such as `'image__url'` for `image.url`. :param file_path: path to a csv file. @@ -524,7 +524,7 @@ def to_dataframe(self) -> 'pd.DataFrame': Save a DocList to a `pandas.DataFrame`. The field names will be stored as column names. Each row of the dataframe corresponds to the information of one Document. - Columns for nested fields will be named after the "__"-seperated access paths, + Columns for nested fields will be named after the "__"-separated access paths, such as `'image__url'` for `image.url`. :return: `pandas.DataFrame`