Does a keep_columns
method on Dataset
, IterableDataset
, etc. make sense?
#5503
-
I was dealing with a AFAIK this has been mentioned by other users in the past e.g. https://discuss.huggingface.co/t/how-to-create-a-new-dataset-from-another-dataset-and-select-specific-columns-and-the-data-along-with-the-column/15120, so does it make sense to add a method named I also understand that this may be a little over-engineering for such a small feature that maybe is not that common and in the end, it's just helping the developer with removing a single line of code, but I think it can help somehow. Anyway, I also get the counterpart engineering-wise. So I'd appreciate your input here! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi! We are in the process of adding this method to the API (see #5468). |
Beta Was this translation helpful? Give feedback.
Hi! We are in the process of adding this method to the API (see #5468).