-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Overview
I was initially suggesting that we could have an alternative constructor for MappingSetDataFrame
that could accept paths rather than objects, however, based on some more recent discussions (1, 2), it might be better to do design very similar to pandas
:
Reading
msdf: MappingSetDataFrame = read_csv()
Or read_tsv()
, or just read()
.
It could accept various different combinations of params:
a. Path to a SSSOM TSV which includes a metadata comment.
b. Path to a SSSOM TSV with no metadata comment, and path to a metadata yaml.
c. Path to a SSSOM TSV with no metadata comment, and path to a metadata object.
d. a dataframe, and path to a metadata yaml.
e. a dataframe, and path to a metadata object.
Writing
msdf.to_csv()
Or to_tsv()
.
This would be an alternative or replacement to parse_sssom_table()
.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request