Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docarray/array/doc_list/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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`
Expand Down