You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It loads to dataframe with dummy columns where needed, with number of cols based on row with most commas.
Its not useful, def need to use CSV.read/write as specially selected writer if called from Dataset with file format = "csv".
Maybe read_path/write path should also take the function as an argument. This would not match the Prefect block API.
The block struct is providing a function, this is awkward unless the function is also accepting the reading function as an argument as well. Then Dataset types can automatically provide a CSV.read/write based on the file_format enumerated.
Currently
LocalFSBlock.write_path()
andread_path
support read/write of CSV files via CSV.jl package.This is the main use case for me personally. When saving image files (from plots for example) or other file types this will be a limitation.
Better if default is a generic file writer/reader with CSV as a special case. Questions to answer:
read_path
need to be attached as a Struct method? I was following the Prefect python/OOP designBest follow DataFrames example, CSV.write(df, [sink]).
The text was updated successfully, but these errors were encountered: