Documentatino for tabular format#1097
Merged
jihyeonyi merged 5 commits intoopen-edge-platform:developfrom Jul 18, 2023
jihyeonyi:tabular-doc
Merged
Documentatino for tabular format#1097jihyeonyi merged 5 commits intoopen-edge-platform:developfrom jihyeonyi:tabular-doc
jihyeonyi merged 5 commits intoopen-edge-platform:developfrom
jihyeonyi:tabular-doc
Conversation
vinnamkim
reviewed
Jul 14, 2023
Co-authored-by: Vinnam Kim <vinnam.kim@gmail.com>
sooahleex
reviewed
Jul 17, 2023
| import datumaro as dm | ||
| dataset = dm.Dataset.import_from('<path/to/buddy/dataset>', 'tabular', target=["breed_category", "pet_category"]) | ||
| dataset = dm.Dataset.import_from('<path/to/electricity/dataset>', 'tabular', target="class") | ||
| ``` |
Contributor
There was a problem hiding this comment.
How about showing an example of how a table is displayed?
like df.head() in pandas or
| date | day | period | nswprice | nswdemand | vicprice | vicdemand | transfer | class |
|----------|-----|----------|----------|-----------|----------|-----------|----------|-------|
| 0.425556 | 5 | 0.340426 | 0.076108 | 0.392889 | 0.003467 | 0.422915 | 0.414912 | UP |
If it is not proper this, please ignore this.
Author
There was a problem hiding this comment.
That's a good idea, and I added examples at last.
Co-authored-by: Sooah Lee <sooah.lee@intel.com>
wonjuleee
approved these changes
Jul 18, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add documentation for tabular data format.
How to test
Checklist
License
Feel free to contact the maintainers if that's a concern.