Koalas.read_*() methods replace path(type:str)
Replacing path types accepted by all read_*() methods supported under Koalas from path(type: str) to path(type: filepath_or_buffer: Union[str, pathlib.Path, IO[~AnyStr]]) equivalent to all Pandas.read_*() methods
I second the support of pathlib.Path. This is easy to implement and seems idiomatic for python 3.
It doesn't make much sense to support buffer which lives in single machine because Koalas targets to scale out the dataset. I think we should explicitly don't support it.
@ikravets @HyukjinKwon I am working on project that show case Pandas as well as Koalas functionalities together. So long story short; I need to pass an IO type object to Koalas.read_csv() and Koalas.read_excel() methods. I hope it is not as difficult to implement. If not can I know an ETA on this update?
@HyukjinKwon , Should we add a note to our documents that we don't want to support this, and close this issue ?