It would be useful to keep the list of the labels of a dataset as metadata. Either directly in the DatasetInfo or in the Arrow metadata.
Yes! I see mostly two options for this:
Feature approach like currently (but we might deprecate features)I would have a preference for the second bullet point.
This should be accessible now as a feature in dataset.info.features (and even have the mapping methods).
Perfect! Well done!!
Hi,
I hope we could get a better documentation.
It took me more than 1 hour to found this way to get the label information.
Yes we are working on the doc right now, should be in the next release quite soon.
Most helpful comment
Yes we are working on the doc right now, should be in the next release quite soon.