Skip to content

feat(v2): load da from csv and save to csv#1144

Merged
anna-charlotte merged 21 commits intofeat-rewrite-v2from
feat-from-to-csv
Feb 22, 2023
Merged

feat(v2): load da from csv and save to csv#1144
anna-charlotte merged 21 commits intofeat-rewrite-v2from
feat-from-to-csv

Conversation

@anna-charlotte
Copy link
Copy Markdown
Contributor

@anna-charlotte anna-charlotte commented Feb 17, 2023

Goals:

  • load DocumentArray from csv, with a given Document class to provide a schema
    • document_type needs to be set to determine schema.
    • column names have to match the Document types fields
    • for nested fields, use access paths as column name, such as 'image__url'
    • if value is None, leave csvfield empty, or enter None
  • save a DocumentArray to csv
    • following the same guidelines as above.
  • check and update documentation, if required. See guide

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement from_to/csv,pandas v2: handle load from external data sources

3 participants