Base interface¶
Bases: BaseConnection
Implements generic methods for reading and writing dataframe as files.
.. versionadded:: 0.9.0
check_if_format_supported(format)
abstractmethod
¶
Validate if specific file format is supported. |support_hooks|
.. versionadded:: 0.9.0
Raises:
-
RuntimeError–If file format is not supported.
read_files_as_df(paths, format, root=None, df_schema=None, options=None)
abstractmethod
¶
Read files in some paths list as dataframe. |support_hooks|
.. versionadded:: 0.9.0
write_df_as_files(df, path, format, options=None)
abstractmethod
¶
Write dataframe as files in some path. |support_hooks|
.. versionadded:: 0.9.0