Skip to content

Documents from DataFrame #3873

Answered by ZanSara
stargeysir asked this question in Questions
Jan 17, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @stargeysir! Depends a lot on how your dataframe looks like. There's a node that does something similar with CSV files: you can take inspiration from that and create your own custom node that converts your dataframes into Documents: https://github.com/deepset-ai/haystack/blob/61f85b08435b51f9bad12b06fad1c3102ad84c4a/haystack/nodes/file_converter/csv.py

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by stargeysir
Comment options

You must be logged in to vote
1 reply
@charlielu05
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants