Closed karthikrangasai closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
🚀 Feature
Support keyword args for specific functions that are used for certain filetypes.
Motivation
In the current API, one thing to note is that some filetype based kwargs can't be sent to the
from_*
methods. For example, in thefrom_csv
method we can't passpandas.read_csv
specific keyword arguments like sep to enable usage fortsv
files etc.For example:
Produces this error:
Passing the
sep
kwarg throws anunexpected keyword argument
error:But the method used internally which is
load_dataset
accepts this:Pitch
Something like this should be possible:
I suspect this will be the case with other tasks as well, I haven't checked it personally.
This is something Flash should support so that it can support a variety of filetypes out of the box.