diff --git a/docs/docs/how_to/document_loader_csv.ipynb b/docs/docs/how_to/document_loader_csv.ipynb index ebab8d287a1f1..fa2b5f77165eb 100644 --- a/docs/docs/how_to/document_loader_csv.ipynb +++ b/docs/docs/how_to/document_loader_csv.ipynb @@ -157,7 +157,7 @@ " temp_file_path = temp_file.name\n", "\n", "loader = CSVLoader(file_path=temp_file_path)\n", - "loader.load()\n", + "data = loader.load()\n", "for record in data[:2]:\n", " print(record)" ]