Closed hagenw closed 4 years ago
@hagenw I leave it up to you to merge this when ready.
I think we could still switch to a default file
value in the column_filename
for PandasDataset
since it must be mostly us that are using the package anyway, but I also don't like getting into the habit of introducing breaking changes for no big reasons. So it's fine for me either way.
Summary
Improvement of base data classes.
Proposed Changes
root
argument optional as it is totally valid to use absolute paths in file lists. This also makes the overall interface slightly easier to implement.duration
andoffset
attribute toAudioDataset
, which means all others will have it as well.column_start
andcolumn_end
toPandasDataset
andCsvDataset
, which will be translated into theduration
andoffset
attributes.column_labels=None
, which will return''
as targetbase.py
are now keyword only to not break the API later on.Discussion
What I have not changed, but we discussed it before is:
column_filename
is stillfilename
.