watex.utils.read_data#
- watex.utils.read_data(f, **read_kws)[source]#
Assert and read specific files and url allowed by the package
Readable files are systematically convert to a pandas dataframe frame.
- Parameters:
f (str, Path-like object) β File path or Pathlib object. Must contain a valid file name and should be a readable file or url
read_kws (dict,) β Additional keywords arguments passed to pandas readable file keywords.
- Returns:
f β A dataframe with head contents by default.
- Return type:
pandas.DataFrame